Package com.epam.common.logging
Class SLF4JLogWrapper
java.lang.Object
com.epam.common.logging.SLF4JLogWrapper
- All Implemented Interfaces:
Log
SLF4J log wrapper.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidLog a message object with the DEBUG level.voidLog a message object with the DEBUG level including the stack trace of the Throwable.voidLog a message object with the ERROR level.voidLog a message object with the DEBUG level including the stack trace of the Throwable.voidLog a message object with the FATAL level.voidLog a message object with the FATAL level including the stack trace of the Throwable.voidLog a message object with the INFO level.voidLog a message object with the INFO level including the stack trace of the Throwable.booleanCheck whether this category is enabled for the DEBUG Level.booleanCheck whether this category is enabled for the ERROR Level.booleanCheck whether this category is enabled for the FATAL Level.booleanCheck whether this category is enabled for the INFO Level.booleanCheck whether this category is enabled for the TRACE Level.booleanCheck whether this category is enabled for the WARN Level.voidLog a message object with the TRACE level.voidLog a message object with the trace level including the stack trace of the Throwable.voidLog a message object with the WARN level.voidLog a message object with the WARN level including the stack trace of the Throwable.
-
Constructor Details
-
SLF4JLogWrapper
public SLF4JLogWrapper(org.slf4j.Logger logger)
-
-
Method Details
-
debug
Description copied from interface:LogLog a message object with the DEBUG level. -
debug
Description copied from interface:LogLog a message object with the DEBUG level including the stack trace of the Throwable. -
error
Description copied from interface:LogLog a message object with the ERROR level. -
error
Description copied from interface:LogLog a message object with the DEBUG level including the stack trace of the Throwable. -
fatal
Description copied from interface:LogLog a message object with the FATAL level. -
fatal
Description copied from interface:LogLog a message object with the FATAL level including the stack trace of the Throwable. -
info
Description copied from interface:LogLog a message object with the INFO level. -
info
Description copied from interface:LogLog a message object with the INFO level including the stack trace of the Throwable. -
isDebugEnabled
public boolean isDebugEnabled()Description copied from interface:LogCheck whether this category is enabled for the DEBUG Level.- Specified by:
isDebugEnabledin interfaceLog- See Also:
-
isErrorEnabled
public boolean isErrorEnabled()Description copied from interface:LogCheck whether this category is enabled for the ERROR Level.- Specified by:
isErrorEnabledin interfaceLog- See Also:
-
isFatalEnabled
public boolean isFatalEnabled()Description copied from interface:LogCheck whether this category is enabled for the FATAL Level.- Specified by:
isFatalEnabledin interfaceLog- See Also:
-
isInfoEnabled
public boolean isInfoEnabled()Description copied from interface:LogCheck whether this category is enabled for the INFO Level.- Specified by:
isInfoEnabledin interfaceLog- See Also:
-
isTraceEnabled
public boolean isTraceEnabled()Description copied from interface:LogCheck whether this category is enabled for the TRACE Level.- Specified by:
isTraceEnabledin interfaceLog- See Also:
-
isWarnEnabled
public boolean isWarnEnabled()Description copied from interface:LogCheck whether this category is enabled for the WARN Level.- Specified by:
isWarnEnabledin interfaceLog- See Also:
-
trace
Description copied from interface:LogLog a message object with the TRACE level. -
trace
Description copied from interface:LogLog a message object with the trace level including the stack trace of the Throwable. -
warn
Description copied from interface:LogLog a message object with the WARN level. -
warn
Description copied from interface:LogLog a message object with the WARN level including the stack trace of the Throwable.
-