Package com.epam.common.logging
Interface Log
- All Known Implementing Classes:
CommonsLogWrapper,DefaultLog,SLF4JLogWrapper
public interface Log
The base fixaj log interface.
-
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.
-
Method Details
-
debug
Log a message object with the DEBUG level.- Parameters:
message- the message
-
debug
Log a message object with the DEBUG level including the stack trace of the Throwable.- Parameters:
message- the messagethrowable- the error
-
error
Log a message object with the ERROR level.- Parameters:
message- the message
-
error
Log a message object with the DEBUG level including the stack trace of the Throwable.- Parameters:
message- the messagethrowable- the error
-
fatal
Log a message object with the FATAL level.- Parameters:
message- the message
-
fatal
Log a message object with the FATAL level including the stack trace of the Throwable.- Parameters:
message- the messagethrowable- the error
-
info
Log a message object with the INFO level.- Parameters:
message- the message
-
info
Log a message object with the INFO level including the stack trace of the Throwable.- Parameters:
message- the messagethrowable- the error
-
isDebugEnabled
boolean isDebugEnabled()Check whether this category is enabled for the DEBUG Level. -
isErrorEnabled
boolean isErrorEnabled()Check whether this category is enabled for the ERROR Level. -
isFatalEnabled
boolean isFatalEnabled()Check whether this category is enabled for the FATAL Level. -
isInfoEnabled
boolean isInfoEnabled()Check whether this category is enabled for the INFO Level. -
isTraceEnabled
boolean isTraceEnabled()Check whether this category is enabled for the TRACE Level. -
isWarnEnabled
boolean isWarnEnabled()Check whether this category is enabled for the WARN Level. -
trace
Log a message object with the TRACE level.- Parameters:
message- the message
-
trace
Log a message object with the trace level including the stack trace of the Throwable.- Parameters:
message- the messagethrowable- the error
-
warn
Log a message object with the WARN level.- Parameters:
message- the message
-
warn
Log a message object with the WARN level including the stack trace of the Throwable.- Parameters:
message- the messagethrowable- the error
-