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 TypeMethodDescriptionvoid
Log a message object with the DEBUG level.void
Log a message object with the DEBUG level including the stack trace of the Throwable.void
Log a message object with the ERROR level.void
Log a message object with the DEBUG level including the stack trace of the Throwable.void
Log a message object with the FATAL level.void
Log a message object with the FATAL level including the stack trace of the Throwable.void
Log a message object with the INFO level.void
Log a message object with the INFO level including the stack trace of the Throwable.boolean
Check whether this category is enabled for the DEBUG Level.boolean
Check whether this category is enabled for the ERROR Level.boolean
Check whether this category is enabled for the FATAL Level.boolean
Check whether this category is enabled for the INFO Level.boolean
Check whether this category is enabled for the TRACE Level.boolean
Check whether this category is enabled for the WARN Level.void
Log a message object with the TRACE level.void
Log a message object with the trace level including the stack trace of the Throwable.void
Log a message object with the WARN level.void
Log 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
-