| Package | Description |
|---|---|
| com.helger.commons.callback.exception | |
| com.helger.commons.error | |
| com.helger.commons.error.level | |
| com.helger.commons.error.list | |
| com.helger.commons.log |
| Modifier and Type | Method and Description |
|---|---|
IErrorLevel |
LoggingExceptionCallback.getErrorLevel() |
| Modifier and Type | Method and Description |
|---|---|
LoggingExceptionCallback |
LoggingExceptionCallback.setErrorLevel(IErrorLevel aErrorLevel)
Set the error level to be used.
|
| Modifier and Type | Field and Description |
|---|---|
static IErrorLevel |
SingleError.AbstractBuilder.DEFAULT_ERROR_LEVEL |
protected IErrorLevel |
SingleError.AbstractBuilder.m_aErrorLevel |
| Modifier and Type | Method and Description |
|---|---|
IErrorLevel |
SingleError.getErrorLevel() |
| Modifier and Type | Method and Description |
|---|---|
IMPLTYPE |
SingleError.AbstractBuilder.setErrorLevel(IErrorLevel aErrorLevel) |
| Constructor and Description |
|---|
SingleError(IErrorLevel aErrorLevel,
String sErrorID,
String sErrorFieldName,
ILocation aErrorLocation,
IHasErrorText aErrorText,
Throwable aLinkedException) |
| Modifier and Type | Class and Description |
|---|---|
class |
EErrorLevel
Represents a generic error level.
|
class |
ErrorLevel
A standalone implementation of the
IErrorLevel interface. |
| Modifier and Type | Method and Description |
|---|---|
IErrorLevel |
IHasErrorLevel.getErrorLevel() |
static IErrorLevel |
IErrorLevel.getMostSevere(IErrorLevel aLevel1,
IErrorLevel aLevel2) |
default IErrorLevel |
IHasErrorLevels.getMostSevereErrorLevel()
Get the most severe error level within this object.
|
| Modifier and Type | Method and Description |
|---|---|
default int |
IErrorLevel.compareTo(IErrorLevel aErrorLevel) |
static IErrorLevel |
IErrorLevel.getMostSevere(IErrorLevel aLevel1,
IErrorLevel aLevel2) |
default boolean |
IHasErrorLevel.hasErrorLevel(IErrorLevel aErrorLevel)
Check if this object has the provided error level.
|
default boolean |
IErrorLevel.isEQ(IErrorLevel aErrorLevel) |
default boolean |
IErrorLevel.isGE(IErrorLevel aErrorLevel) |
default boolean |
IErrorLevel.isGT(IErrorLevel aErrorLevel) |
default boolean |
IErrorLevel.isLE(IErrorLevel aErrorLevel) |
default boolean |
IErrorLevel.isLT(IErrorLevel aErrorLevel) |
default boolean |
IErrorLevel.isNE(IErrorLevel aErrorLevel) |
| Modifier and Type | Method and Description |
|---|---|
default boolean |
IErrorList.hasEntryForField(String sSearchFieldName,
IErrorLevel aErrorLevel)
Check if any entry for the specified field and the specified error level is
present
|
| Modifier and Type | Method and Description |
|---|---|
IErrorLevel |
LogMessage.getErrorLevel() |
| Modifier and Type | Method and Description |
|---|---|
protected LogMessage |
InMemoryLogger.createLogMessage(IErrorLevel eErrorLevel,
Serializable aMsg,
Throwable t)
Override this method to create a different LogMessage object or to filter
certain log messages.
|
static boolean |
LogHelper.isEnabled(Class<?> aLoggingClass,
IErrorLevel eErrorLevel)
Check if logging is enabled for the passed class based on the error level
provided
|
static boolean |
LogHelper.isEnabled(org.slf4j.Logger aLogger,
IErrorLevel eErrorLevel)
Check if logging is enabled for the passed logger based on the error level
provided
|
static void |
LogHelper.log(Class<?> aLoggingClass,
IErrorLevel aErrorLevel,
String sMsg) |
static void |
LogHelper.log(Class<?> aLoggingClass,
IErrorLevel eErrorLevel,
String sMsg,
Throwable t) |
void |
InMemoryLogger.log(IErrorLevel eErrorLevel,
Serializable aMsg) |
void |
InMemoryLogger.log(IErrorLevel eErrorLevel,
Serializable aMsg,
Throwable t) |
static void |
LogHelper.log(org.slf4j.Logger aLogger,
IErrorLevel eErrorLevel,
String sMsg) |
static void |
LogHelper.log(org.slf4j.Logger aLogger,
IErrorLevel eErrorLevel,
String sMsg,
Throwable t) |
| Constructor and Description |
|---|
LogMessage(IErrorLevel aErrorLevel,
Serializable aMsg,
Throwable aThrowable) |
LogMessage(LocalDateTime aIssueDT,
IErrorLevel aErrorLevel,
Serializable aMsg,
Throwable aThrowable) |
Copyright © 2014–2017 Philip Helger. All rights reserved.