public interface ReportLogger
Modifier and Type | Method and Description |
---|---|
void |
debug(java.lang.Object message)
Log a message with debug log level.
|
void |
debug(java.lang.Object message,
java.lang.Throwable t)
Log an error with debug log level.
|
void |
error(java.lang.Object message)
Log a message with error log level.
|
void |
error(java.lang.Object message,
java.lang.Throwable t)
Log an error with error log level.
|
void |
fatal(java.lang.Object message)
Log a message with fatal log level.
|
void |
fatal(java.lang.Object message,
java.lang.Throwable t)
Log an error with fatal log level.
|
void |
info(java.lang.Object message)
Log a message with info log level.
|
void |
info(java.lang.Object message,
java.lang.Throwable t)
Log an error with info log level.
|
boolean |
isDebugEnabled()
Is debug logging currently enabled?
|
boolean |
isErrorEnabled()
Is error logging currently enabled?
|
boolean |
isFatalEnabled()
Is fatal logging currently enabled?
|
boolean |
isInfoEnabled()
Is info logging currently enabled?
|
boolean |
isWarnEnabled()
Is warning logging currently enabled?
|
void |
warn(java.lang.Object message)
Log a message with warn log level.
|
void |
warn(java.lang.Object message,
java.lang.Throwable t)
Log an error with warn log level.
|
boolean isDebugEnabled()
Is debug logging currently enabled?
Call this method to prevent having to perform expensive operations
(for example, String
concatination)
when the log level is more than debug.
boolean isErrorEnabled()
Is error logging currently enabled?
Call this method to prevent having to perform expensive operations
(for example, String
concatination)
when the log level is more than error.
boolean isFatalEnabled()
Is fatal logging currently enabled?
Call this method to prevent having to perform expensive operations
(for example, String
concatination)
when the log level is more than fatal.
boolean isInfoEnabled()
Is info logging currently enabled?
Call this method to prevent having to perform expensive operations
(for example, String
concatination)
when the log level is more than info.
boolean isWarnEnabled()
Is warning logging currently enabled?
Call this method to prevent having to perform expensive operations
(for example, String
concatination)
when the log level is more than warning.
void debug(java.lang.Object message)
Log a message with debug log level.
message
- log this messagevoid debug(java.lang.Object message, java.lang.Throwable t)
Log an error with debug log level.
message
- log this messaget
- log this causevoid info(java.lang.Object message)
Log a message with info log level.
message
- log this messagevoid info(java.lang.Object message, java.lang.Throwable t)
Log an error with info log level.
message
- log this messaget
- log this causevoid warn(java.lang.Object message)
Log a message with warn log level.
message
- log this messagevoid warn(java.lang.Object message, java.lang.Throwable t)
Log an error with warn log level.
message
- log this messaget
- log this causevoid error(java.lang.Object message)
Log a message with error log level.
message
- log this messagevoid error(java.lang.Object message, java.lang.Throwable t)
Log an error with error log level.
message
- log this messaget
- log this causevoid fatal(java.lang.Object message)
Log a message with fatal log level.
message
- log this messagevoid fatal(java.lang.Object message, java.lang.Throwable t)
Log an error with fatal log level.
message
- log this messaget
- log this cause