| Package | Description |
|---|---|
| com.helger.commons.callback.exception | |
| com.helger.commons.error | |
| com.helger.commons.error.level | |
| com.helger.commons.log |
| Modifier and Type | Class and Description |
|---|---|
class |
LoggingExceptionCallback
A specific implementation of the
IExceptionCallback interface, that
logs all exceptions to a standard logger. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
IError
Common interface for single errors and resource errors.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SingleError
Default implementation of
IError. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
IHasErrorLevels<IMPLTYPE extends IHasErrorLevel>
Interface representing an object having multiple objects with an error level
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
IHasErrorLevelComparable<IMPLTYPE extends IHasErrorLevelComparable<IMPLTYPE>>
Base interface for objects that have a severity based on
IErrorLevel. |
| Modifier and Type | Class and Description |
|---|---|
class |
LogMessage
Represents a single log message.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
LogHelper.isEnabled(Class<?> aLoggingClass,
IHasErrorLevel aErrorLevelProvider)
Check if logging is enabled for the passed class based on the error level
provider by the passed object
|
static boolean |
LogHelper.isEnabled(org.slf4j.Logger aLogger,
IHasErrorLevel aErrorLevelProvider)
Check if logging is enabled for the passed logger based on the error level
provider by the passed object
|
static void |
LogHelper.log(Class<?> aLoggingClass,
IHasErrorLevel aErrorLevelProvider,
String sMsg)
Generically log something
|
static void |
LogHelper.log(Class<?> aLoggingClass,
IHasErrorLevel aErrorLevelProvider,
String sMsg,
Throwable t)
Generically log something
|
static void |
LogHelper.log(Class<?> aLoggingClass,
IHasErrorLevel aErrorLevelProvider,
Supplier<String> aMsgSupplier)
Generically log something
|
static void |
LogHelper.log(Class<?> aLoggingClass,
IHasErrorLevel aErrorLevelProvider,
Supplier<String> aMsgSupplier,
Throwable t)
Generically log something
|
static void |
LogHelper.log(org.slf4j.Logger aLogger,
IHasErrorLevel aErrorLevelProvider,
String sMsg)
Generically log something
|
static void |
LogHelper.log(org.slf4j.Logger aLogger,
IHasErrorLevel aErrorLevelProvider,
String sMsg,
Throwable t)
Generically log something
|
static void |
LogHelper.log(org.slf4j.Logger aLogger,
IHasErrorLevel aErrorLevelProvider,
Supplier<String> aMsgSupplier)
Generically log something
|
static void |
LogHelper.log(org.slf4j.Logger aLogger,
IHasErrorLevel aErrorLevelProvider,
Supplier<String> aMsgSupplier,
Throwable t)
Generically log something
|
Copyright © 2014–2020 Philip Helger. All rights reserved.