|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.genesyslab.platform.apptemplate.lmslogger.impl.SilentLmsEventLogger
public class SilentLmsEventLogger
"Silent" implementation of
LmsEventLogger
.
All log messages are ignored.
SilentLmsLoggerFactory
Field Summary | |
---|---|
static SilentLmsEventLogger |
SINGLETON
|
Fields inherited from interface com.genesyslab.platform.apptemplate.lmslogger.LmsEventLogger |
---|
STR_PSDK_LMS_ALARM_MESSAGE_MARKER, STR_PSDK_LMS_MESSAGE_MARKER |
Method Summary | |
---|---|
ILogger |
createChildLogger(java.lang.String name)
Creates new child logger. |
void |
debug(LmsMessageTemplate key,
java.lang.Object... args)
"Silent" logger implementation does not log anything. |
void |
debug(LogCategory category,
LmsMessageTemplate key,
java.lang.Object... args)
"Silent" logger implementation does not log anything. |
void |
debug(java.lang.Object message)
"Silent" logger implementation does not log anything. |
void |
debug(java.lang.Object message,
java.lang.Throwable thr)
"Silent" logger implementation does not log anything. |
void |
debug(java.lang.String message,
java.lang.Object... args)
"Silent" logger implementation does not log anything. |
void |
debugFormat(java.lang.String message,
java.lang.Object args)
"Silent" logger implementation does not log anything. |
void |
error(LmsMessageTemplate key,
java.lang.Object... args)
"Silent" logger implementation does not log anything. |
void |
error(LogCategory category,
LmsMessageTemplate key,
java.lang.Object... args)
"Silent" logger implementation does not log anything. |
void |
error(java.lang.Object message)
"Silent" logger implementation does not log anything. |
void |
error(java.lang.Object message,
java.lang.Throwable thr)
"Silent" logger implementation does not log anything. |
void |
error(java.lang.String message,
java.lang.Object... args)
"Silent" logger implementation does not log anything. |
void |
errorFormat(java.lang.String message,
java.lang.Object args)
"Silent" logger implementation does not log anything. |
void |
fatal(LmsMessageTemplate key,
java.lang.Object... args)
"Silent" logger implementation does not log anything. |
void |
fatal(LogCategory category,
LmsMessageTemplate key,
java.lang.Object... args)
"Silent" logger implementation does not log anything. |
void |
fatal(java.lang.String message,
java.lang.Object... args)
"Silent" logger implementation does not log anything. |
void |
fatalError(LmsMessageTemplate key,
java.lang.Object... args)
"Silent" logger implementation does not log anything. |
void |
fatalError(LogCategory category,
LmsMessageTemplate key,
java.lang.Object... args)
"Silent" logger implementation does not log anything. |
void |
fatalError(java.lang.Object message)
"Silent" logger implementation does not log anything. |
void |
fatalError(java.lang.Object message,
java.lang.Throwable thr)
"Silent" logger implementation does not log anything. |
void |
fatalErrorFormat(java.lang.String message,
java.lang.Object args)
"Silent" logger implementation does not log anything. |
void |
info(LmsMessageTemplate key,
java.lang.Object... args)
"Silent" logger implementation does not log anything. |
void |
info(LogCategory category,
LmsMessageTemplate key,
java.lang.Object... args)
"Silent" logger implementation does not log anything. |
void |
info(java.lang.Object message)
"Silent" logger implementation does not log anything. |
void |
info(java.lang.Object message,
java.lang.Throwable thr)
"Silent" logger implementation does not log anything. |
void |
info(java.lang.String message,
java.lang.Object... args)
"Silent" logger implementation does not log anything. |
void |
infoFormat(java.lang.String message,
java.lang.Object args)
"Silent" logger implementation does not log anything. |
boolean |
isDebug()
Returns false . |
boolean |
isError()
Returns false . |
boolean |
isFatalError()
Returns false . |
boolean |
isInfo()
Returns false . |
boolean |
isWarn()
Returns false . |
void |
log(int key,
java.lang.Object... args)
"Silent" logger implementation does not log anything. |
void |
log(LmsMessageTemplate key,
java.lang.Object... args)
"Silent" logger implementation does not log anything. |
void |
log(LogCategory category,
int key,
java.lang.Object... args)
"Silent" logger implementation does not log anything. |
void |
log(LogCategory category,
LmsMessageTemplate key,
java.lang.Object... args)
"Silent" logger implementation does not log anything. |
void |
trace(java.lang.String message,
java.lang.Object... args)
"Silent" logger implementation does not log anything. |
void |
warn(LmsMessageTemplate key,
java.lang.Object... args)
"Silent" logger implementation does not log anything. |
void |
warn(LogCategory category,
LmsMessageTemplate key,
java.lang.Object... args)
"Silent" logger implementation does not log anything. |
void |
warn(java.lang.Object message)
"Silent" logger implementation does not log anything. |
void |
warn(java.lang.Object message,
java.lang.Throwable thr)
"Silent" logger implementation does not log anything. |
void |
warn(java.lang.String message,
java.lang.Object... args)
"Silent" logger implementation does not log anything. |
void |
warnFormat(java.lang.String message,
java.lang.Object args)
"Silent" logger implementation does not log anything. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final SilentLmsEventLogger SINGLETON
Method Detail |
---|
public ILogger createChildLogger(java.lang.String name)
ILogger
[this-logger-name].[child-name]
".
createChildLogger
in interface ILogger
name
- the child name for the new logger
public void log(LogCategory category, LmsMessageTemplate key, java.lang.Object... args)
log
in interface LmsEventLogger
category
- the log event category.key
- the key used for localization.args
- optional arguments.public void log(LogCategory category, int key, java.lang.Object... args)
log
in interface LmsEventLogger
category
- the log event category.key
- the key used for localization.args
- optional arguments.public void log(LmsMessageTemplate key, java.lang.Object... args)
log
in interface LmsEventLogger
key
- the key used for localization.args
- optional arguments.public void log(int key, java.lang.Object... args)
log
in interface LmsEventLogger
key
- the key used for localization.args
- optional arguments.public void trace(java.lang.String message, java.lang.Object... args)
trace
in interface ILoggerEx
message
- message with format tagsargs
- arguments for formatMessageFormat
public boolean isDebug()
false
. "Silent" logger implementation does not log anything.
isDebug
in interface ILogger
true
if this Logger is enabled for level DEBUG
,
false
otherwise.public void debug(java.lang.Object message)
debug
in interface ILogger
message
- the message object to log.public void debug(java.lang.Object message, java.lang.Throwable thr)
debug
in interface ILogger
message
- the message object to log.thr
- the exception to log, including its stack trace.public void debug(java.lang.String message, java.lang.Object... args)
debug
in interface ILoggerEx
message
- message with format tagsargs
- arguments for formatMessageFormat
public void debugFormat(java.lang.String message, java.lang.Object args)
debugFormat
in interface ILogger
message
- message with format tagsargs
- arguments for formatMessageFormat
public void debug(LmsMessageTemplate key, java.lang.Object... args)
debug
in interface LmsEventLogger
key
- the key used for localization.args
- optional arguments.public void debug(LogCategory category, LmsMessageTemplate key, java.lang.Object... args)
debug
in interface LmsEventLogger
category
- the log event category.key
- the key used for localization.args
- optional arguments.public boolean isInfo()
false
. "Silent" logger implementation does not log anything.
isInfo
in interface ILogger
true
if this Logger is enabled for level INFO
,
false
otherwise.public void info(java.lang.Object message)
info
in interface ILogger
message
- the message object to log.public void info(java.lang.Object message, java.lang.Throwable thr)
info
in interface ILogger
message
- the message object to log.thr
- the exception to log, including its stack trace.public void infoFormat(java.lang.String message, java.lang.Object args)
infoFormat
in interface ILogger
message
- the message to log.args
- parameters to the message.MessageFormat
public void info(LmsMessageTemplate key, java.lang.Object... args)
info
in interface LmsEventLogger
key
- the key used for localization.args
- optional arguments.public void info(LogCategory category, LmsMessageTemplate key, java.lang.Object... args)
info
in interface LmsEventLogger
category
- the log event category.key
- the key used for localization.args
- optional arguments.public void info(java.lang.String message, java.lang.Object... args)
info
in interface ILoggerEx
message
- the message to log.args
- parameters to the message.MessageFormat
public boolean isWarn()
false
. "Silent" logger implementation does not log anything.
isWarn
in interface ILogger
true
if this Logger is enabled for level WARNING
,
false
otherwise.public void warn(java.lang.Object message)
warn
in interface ILogger
message
- the message object to log.public void warn(java.lang.Object message, java.lang.Throwable thr)
warn
in interface ILogger
message
- the message object to log.thr
- the exception to log, including its stack trace.public void warnFormat(java.lang.String message, java.lang.Object args)
warnFormat
in interface ILogger
message
- the message to log.args
- parameters to the message.MessageFormat
public void warn(LmsMessageTemplate key, java.lang.Object... args)
warn
in interface LmsEventLogger
key
- the key used for localization.args
- optional arguments.public void warn(LogCategory category, LmsMessageTemplate key, java.lang.Object... args)
warn
in interface LmsEventLogger
category
- the log event category.key
- the key used for localization.args
- optional arguments.public void warn(java.lang.String message, java.lang.Object... args)
warn
in interface ILoggerEx
message
- the message to log.args
- parameters to the message.MessageFormat
public boolean isError()
false
. "Silent" logger implementation does not log anything.
isError
in interface ILogger
true
if this Logger is enabled for level ERROR
,
false
otherwise.public void error(java.lang.Object message)
error
in interface ILogger
message
- the message object to log.public void error(java.lang.Object message, java.lang.Throwable thr)
error
in interface ILogger
message
- the message object to log.thr
- the exception to log, including its stack trace.public void errorFormat(java.lang.String message, java.lang.Object args)
errorFormat
in interface ILogger
message
- the message to log.args
- parameters to the message.MessageFormat
public void error(LmsMessageTemplate key, java.lang.Object... args)
error
in interface LmsEventLogger
key
- the key used for localization.args
- optional arguments.public void error(LogCategory category, LmsMessageTemplate key, java.lang.Object... args)
error
in interface LmsEventLogger
category
- the log event category.key
- the key used for localization.args
- optional arguments.public void error(java.lang.String message, java.lang.Object... args)
error
in interface ILoggerEx
message
- the message to log.args
- parameters to the message.MessageFormat
public boolean isFatalError()
false
. "Silent" logger implementation does not log anything.
isFatalError
in interface ILogger
true
if this Logger is enabled for level FATAL ERROR
,
false
otherwise.public void fatalError(java.lang.Object message)
fatalError
in interface ILogger
message
- the message to log.public void fatalError(java.lang.Object message, java.lang.Throwable thr)
fatalError
in interface ILogger
message
- the message object to log.thr
- the exception to log, including its stack trace.public void fatalErrorFormat(java.lang.String message, java.lang.Object args)
fatalErrorFormat
in interface ILogger
message
- the message to log.args
- parameters to the message.MessageFormat
public void fatalError(LmsMessageTemplate key, java.lang.Object... args)
fatalError
in interface LmsEventLogger
key
- the key used for localization.args
- optional arguments.public void fatalError(LogCategory category, LmsMessageTemplate key, java.lang.Object... args)
fatalError
in interface LmsEventLogger
category
- the log event category.key
- the key used for localization.args
- optional arguments.public void fatal(LmsMessageTemplate key, java.lang.Object... args)
fatal
in interface LmsEventLogger
key
- the key used for localization.args
- optional arguments.public void fatal(LogCategory category, LmsMessageTemplate key, java.lang.Object... args)
fatal
in interface LmsEventLogger
category
- the log event category.key
- the key used for localization.args
- optional arguments.public void fatal(java.lang.String message, java.lang.Object... args)
fatal
in interface ILoggerEx
message
- the message to log.args
- parameters to the message.MessageFormat
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |