public interface MXLogger
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.
|
org.apache.log4j.Level |
getLevel()
Get the log level of the logger.
|
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 |
logDisregardLevel(java.lang.String msgGroup,
java.lang.String msgKey,
java.lang.Object[] params)
Write log disregard log level.
|
void |
setLevel(org.apache.log4j.Level level)
Change the log level of the logger.
|
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 causevoid setLevel(org.apache.log4j.Level level)
Change the log level of the logger.
level
- The level to set to this loggerorg.apache.log4j.Level getLevel()
Get the log level of the logger.
returns the log level of the logger.void logDisregardLevel(java.lang.String msgGroup, java.lang.String msgKey, java.lang.Object[] params)
msgGroup
- msgKey
- params
-