public class JLupinEmptyLoggerImpl extends Object implements JLupinLogger
JLupinLogger
. Print or log nothing.Modifier and Type | Method and Description |
---|---|
void |
afterLog()
Method called on server shutdown.
|
void |
beforeLog()
Method called on server startup.
|
void |
debug(Object message)
Log with mode
LogMode.DEBUG . |
void |
debug(Object message,
Object[] messageParams)
Log with mode
LogMode.DEBUG . |
void |
debug(Object message,
Object[] messageParams,
Throwable th)
Log with mode
LogMode.DEBUG . |
void |
debug(Object message,
Throwable th)
Log with mode
LogMode.DEBUG . |
void |
error(Object message)
Log with mode
LogMode.ERROR . |
void |
error(Object message,
Object[] messageParams)
Log with mode
LogMode.ERROR . |
void |
error(Object message,
Object[] messageParams,
Throwable th)
Log with mode
LogMode.ERROR . |
void |
error(Object message,
Throwable th)
Log with mode
LogMode.ERROR . |
static JLupinEmptyLoggerImpl |
getInstance() |
LogMode |
getLogMode()
Get logger current log mode.
|
void |
info(Object message)
Log with mode
LogMode.INFO . |
void |
info(Object message,
Object[] messageParams)
Log with mode
LogMode.INFO . |
void |
info(Object message,
Object[] messageParams,
Throwable th)
Log with mode
LogMode.INFO . |
void |
info(Object message,
Throwable th)
Log with mode
LogMode.INFO . |
void |
log(int messageIdentifier,
LogMode logMode,
Object message)
Log with message identifier.
|
void |
log(int messageIdentifier,
LogMode logMode,
Object message,
Object[] messageParams)
Log with message identifier.
|
void |
log(int messageIdentifier,
LogMode logMode,
Object message,
Object[] messageParams,
Throwable th)
Log with message identifier.
|
void |
log(int messageIdentifier,
LogMode logMode,
Object message,
Throwable th)
Log with message identifier.
|
void |
log(LogMode logMode,
Object message)
Log.
|
void |
log(LogMode logMode,
Object message,
Object[] messageParams)
Log.
|
void |
log(LogMode logMode,
Object message,
Object[] messageParams,
Throwable th)
Log.
|
void |
log(LogMode logMode,
Object message,
Throwable th)
Log.
|
void |
warn(Object message)
Log with mode
LogMode.WARN . |
void |
warn(Object message,
Object[] messageParams)
Log with mode
LogMode.WARN . |
void |
warn(Object message,
Object[] messageParams,
Throwable th)
Log with mode
LogMode.WARN . |
void |
warn(Object message,
Throwable th)
Log with mode
LogMode.WARN . |
public static JLupinEmptyLoggerImpl getInstance()
public void beforeLog()
JLupinLogger
beforeLog
in interface JLupinLogger
public void afterLog()
JLupinLogger
afterLog
in interface JLupinLogger
public void log(int messageIdentifier, LogMode logMode, Object message)
JLupinLogger
log
in interface JLupinLogger
messageIdentifier
- message identifierlogMode
- log mode to usemessage
- message to logpublic void log(int messageIdentifier, LogMode logMode, Object message, Object[] messageParams)
JLupinLogger
log
in interface JLupinLogger
messageIdentifier
- message identifierlogMode
- log mode to usemessage
- message to logmessageParams
- message parameters used by formatterpublic void log(int messageIdentifier, LogMode logMode, Object message, Throwable th)
JLupinLogger
log
in interface JLupinLogger
messageIdentifier
- message identifierlogMode
- log mode to usemessage
- message to logth
- throwable to logpublic void log(int messageIdentifier, LogMode logMode, Object message, Object[] messageParams, Throwable th)
JLupinLogger
log
in interface JLupinLogger
messageIdentifier
- message identifierlogMode
- log mode to usemessage
- message to logmessageParams
- message parameters used by formatterth
- throwable to logpublic void log(LogMode logMode, Object message)
JLupinLogger
log
in interface JLupinLogger
logMode
- log mode to usemessage
- message to logpublic void log(LogMode logMode, Object message, Object[] messageParams)
JLupinLogger
log
in interface JLupinLogger
logMode
- log mode to usemessage
- message to logmessageParams
- message parameters used by formatterpublic void log(LogMode logMode, Object message, Throwable th)
JLupinLogger
log
in interface JLupinLogger
logMode
- log mode to usemessage
- message to logth
- throwable to logpublic void log(LogMode logMode, Object message, Object[] messageParams, Throwable th)
JLupinLogger
log
in interface JLupinLogger
logMode
- log mode to usemessage
- message to logmessageParams
- message parameters used by formatterth
- throwable to logpublic void info(Object message)
JLupinLogger
LogMode.INFO
.info
in interface JLupinLogger
message
- message to logpublic void info(Object message, Object[] messageParams)
JLupinLogger
LogMode.INFO
.info
in interface JLupinLogger
message
- message to logmessageParams
- message parameters used by formatterpublic void info(Object message, Throwable th)
JLupinLogger
LogMode.INFO
.info
in interface JLupinLogger
message
- message to logth
- throwable to logpublic void info(Object message, Object[] messageParams, Throwable th)
JLupinLogger
LogMode.INFO
.info
in interface JLupinLogger
message
- message to logmessageParams
- message parameters used by formatterth
- throwable to logpublic void debug(Object message)
JLupinLogger
LogMode.DEBUG
.debug
in interface JLupinLogger
message
- message to logpublic void debug(Object message, Object[] messageParams)
JLupinLogger
LogMode.DEBUG
.debug
in interface JLupinLogger
message
- message to logmessageParams
- message parameters used by formatterpublic void debug(Object message, Throwable th)
JLupinLogger
LogMode.DEBUG
.debug
in interface JLupinLogger
message
- message to logth
- throwable to logpublic void debug(Object message, Object[] messageParams, Throwable th)
JLupinLogger
LogMode.DEBUG
.debug
in interface JLupinLogger
message
- message to logmessageParams
- message parameters used by formatterth
- throwable to logpublic void error(Object message)
JLupinLogger
LogMode.ERROR
.error
in interface JLupinLogger
message
- message to logpublic void error(Object message, Object[] messageParams)
JLupinLogger
LogMode.ERROR
.error
in interface JLupinLogger
message
- message to logmessageParams
- message parameters used by formatterpublic void error(Object message, Throwable th)
JLupinLogger
LogMode.ERROR
.error
in interface JLupinLogger
message
- message to logth
- throwable to logpublic void error(Object message, Object[] messageParams, Throwable th)
JLupinLogger
LogMode.ERROR
.error
in interface JLupinLogger
message
- message to logmessageParams
- message parameters used by formatterth
- throwable to logpublic void warn(Object message)
JLupinLogger
LogMode.WARN
.warn
in interface JLupinLogger
message
- message to logpublic void warn(Object message, Object[] messageParams)
JLupinLogger
LogMode.WARN
.warn
in interface JLupinLogger
message
- message to logmessageParams
- message parameters used by formatterpublic void warn(Object message, Throwable th)
JLupinLogger
LogMode.WARN
.warn
in interface JLupinLogger
message
- message to logth
- throwable to logpublic void warn(Object message, Object[] messageParams, Throwable th)
JLupinLogger
LogMode.WARN
.warn
in interface JLupinLogger
message
- message to logmessageParams
- message parameters used by formatterth
- throwable to logpublic LogMode getLogMode()
JLupinLogger
getLogMode
in interface JLupinLogger