public class MaxSequenceProvider.EmptyLogger extends java.lang.Object implements MXLogger
Constructor and Description |
---|
EmptyLogger() |
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.
|
public boolean isDebugEnabled()
MXLogger
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.
isDebugEnabled
in interface MXLogger
public boolean isErrorEnabled()
MXLogger
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.
isErrorEnabled
in interface MXLogger
public boolean isFatalEnabled()
MXLogger
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.
isFatalEnabled
in interface MXLogger
public boolean isInfoEnabled()
MXLogger
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.
isInfoEnabled
in interface MXLogger
public boolean isWarnEnabled()
MXLogger
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.
isWarnEnabled
in interface MXLogger
public void debug(java.lang.Object message)
MXLogger
Log a message with debug log level.
public void debug(java.lang.Object message, java.lang.Throwable t)
MXLogger
Log an error with debug log level.
public void info(java.lang.Object message)
MXLogger
Log a message with info log level.
public void info(java.lang.Object message, java.lang.Throwable t)
MXLogger
Log an error with info log level.
public void warn(java.lang.Object message)
MXLogger
Log a message with warn log level.
public void warn(java.lang.Object message, java.lang.Throwable t)
MXLogger
Log an error with warn log level.
public void error(java.lang.Object message)
MXLogger
Log a message with error log level.
public void error(java.lang.Object message, java.lang.Throwable t)
MXLogger
Log an error with error log level.
public void fatal(java.lang.Object message)
MXLogger
Log a message with fatal log level.
public void fatal(java.lang.Object message, java.lang.Throwable t)
MXLogger
Log an error with fatal log level.
public void setLevel(org.apache.log4j.Level level)
MXLogger
Change the log level of the logger.
public org.apache.log4j.Level getLevel()
MXLogger
Get the log level of the logger.
returns the log level of the logger.public void logDisregardLevel(java.lang.String msgGroup, java.lang.String msgKey, java.lang.Object[] params)
MXLogger
logDisregardLevel
in interface MXLogger