Platform SDK Java 8.5 API Reference

com.genesyslab.platform.apptemplate.lmslogger.impl
Class SilentLmsEventLogger

java.lang.Object
  extended by com.genesyslab.platform.apptemplate.lmslogger.impl.SilentLmsEventLogger
All Implemented Interfaces:
ILoggerEx, LmsEventLogger, ILogger

public class SilentLmsEventLogger
extends java.lang.Object
implements LmsEventLogger

"Silent" implementation of LmsEventLogger.
All log messages are ignored.

See Also:
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

SINGLETON

public static final SilentLmsEventLogger SINGLETON
Method Detail

createChildLogger

public ILogger createChildLogger(java.lang.String name)
Description copied from interface: ILogger
Creates new child logger. Name of a child logger usually looks like "[this-logger-name].[child-name]".

Specified by:
createChildLogger in interface ILogger
Parameters:
name - the child name for the new logger
Returns:
new ILogger instance

log

public void log(LogCategory category,
                LmsMessageTemplate key,
                java.lang.Object... args)
"Silent" logger implementation does not log anything.

Specified by:
log in interface LmsEventLogger
Parameters:
category - the log event category.
key - the key used for localization.
args - optional arguments.

log

public void log(LogCategory category,
                int key,
                java.lang.Object... args)
"Silent" logger implementation does not log anything.

Specified by:
log in interface LmsEventLogger
Parameters:
category - the log event category.
key - the key used for localization.
args - optional arguments.

log

public void log(LmsMessageTemplate key,
                java.lang.Object... args)
"Silent" logger implementation does not log anything.

Specified by:
log in interface LmsEventLogger
Parameters:
key - the key used for localization.
args - optional arguments.

log

public void log(int key,
                java.lang.Object... args)
"Silent" logger implementation does not log anything.

Specified by:
log in interface LmsEventLogger
Parameters:
key - the key used for localization.
args - optional arguments.

trace

public void trace(java.lang.String message,
                  java.lang.Object... args)
"Silent" logger implementation does not log anything.

Specified by:
trace in interface ILoggerEx
Parameters:
message - message with format tags
args - arguments for format
See Also:
MessageFormat

isDebug

public boolean isDebug()
Returns false. "Silent" logger implementation does not log anything.

Specified by:
isDebug in interface ILogger
Returns:
boolean - true if this Logger is enabled for level DEBUG, false otherwise.

debug

public void debug(java.lang.Object message)
"Silent" logger implementation does not log anything.

Specified by:
debug in interface ILogger
Parameters:
message - the message object to log.

debug

public void debug(java.lang.Object message,
                  java.lang.Throwable thr)
"Silent" logger implementation does not log anything.

Specified by:
debug in interface ILogger
Parameters:
message - the message object to log.
thr - the exception to log, including its stack trace.

debug

public void debug(java.lang.String message,
                  java.lang.Object... args)
"Silent" logger implementation does not log anything.

Specified by:
debug in interface ILoggerEx
Parameters:
message - message with format tags
args - arguments for format
See Also:
MessageFormat

debugFormat

public void debugFormat(java.lang.String message,
                        java.lang.Object args)
"Silent" logger implementation does not log anything.

Specified by:
debugFormat in interface ILogger
Parameters:
message - message with format tags
args - arguments for format
See Also:
MessageFormat

debug

public void debug(LmsMessageTemplate key,
                  java.lang.Object... args)
"Silent" logger implementation does not log anything.

Specified by:
debug in interface LmsEventLogger
Parameters:
key - the key used for localization.
args - optional arguments.

debug

public void debug(LogCategory category,
                  LmsMessageTemplate key,
                  java.lang.Object... args)
"Silent" logger implementation does not log anything.

Specified by:
debug in interface LmsEventLogger
Parameters:
category - the log event category.
key - the key used for localization.
args - optional arguments.

isInfo

public boolean isInfo()
Returns false. "Silent" logger implementation does not log anything.

Specified by:
isInfo in interface ILogger
Returns:
boolean - true if this Logger is enabled for level INFO, false otherwise.

info

public void info(java.lang.Object message)
"Silent" logger implementation does not log anything.

Specified by:
info in interface ILogger
Parameters:
message - the message object to log.

info

public void info(java.lang.Object message,
                 java.lang.Throwable thr)
"Silent" logger implementation does not log anything.

Specified by:
info in interface ILogger
Parameters:
message - the message object to log.
thr - the exception to log, including its stack trace.

infoFormat

public void infoFormat(java.lang.String message,
                       java.lang.Object args)
"Silent" logger implementation does not log anything.

Specified by:
infoFormat in interface ILogger
Parameters:
message - the message to log.
args - parameters to the message.
See Also:
MessageFormat

info

public void info(LmsMessageTemplate key,
                 java.lang.Object... args)
"Silent" logger implementation does not log anything.

Specified by:
info in interface LmsEventLogger
Parameters:
key - the key used for localization.
args - optional arguments.

info

public void info(LogCategory category,
                 LmsMessageTemplate key,
                 java.lang.Object... args)
"Silent" logger implementation does not log anything.

Specified by:
info in interface LmsEventLogger
Parameters:
category - the log event category.
key - the key used for localization.
args - optional arguments.

info

public void info(java.lang.String message,
                 java.lang.Object... args)
"Silent" logger implementation does not log anything.

Specified by:
info in interface ILoggerEx
Parameters:
message - the message to log.
args - parameters to the message.
See Also:
MessageFormat

isWarn

public boolean isWarn()
Returns false. "Silent" logger implementation does not log anything.

Specified by:
isWarn in interface ILogger
Returns:
boolean - true if this Logger is enabled for level WARNING, false otherwise.

warn

public void warn(java.lang.Object message)
"Silent" logger implementation does not log anything.

Specified by:
warn in interface ILogger
Parameters:
message - the message object to log.

warn

public void warn(java.lang.Object message,
                 java.lang.Throwable thr)
"Silent" logger implementation does not log anything.

Specified by:
warn in interface ILogger
Parameters:
message - the message object to log.
thr - the exception to log, including its stack trace.

warnFormat

public void warnFormat(java.lang.String message,
                       java.lang.Object args)
"Silent" logger implementation does not log anything.

Specified by:
warnFormat in interface ILogger
Parameters:
message - the message to log.
args - parameters to the message.
See Also:
MessageFormat

warn

public void warn(LmsMessageTemplate key,
                 java.lang.Object... args)
"Silent" logger implementation does not log anything.

Specified by:
warn in interface LmsEventLogger
Parameters:
key - the key used for localization.
args - optional arguments.

warn

public void warn(LogCategory category,
                 LmsMessageTemplate key,
                 java.lang.Object... args)
"Silent" logger implementation does not log anything.

Specified by:
warn in interface LmsEventLogger
Parameters:
category - the log event category.
key - the key used for localization.
args - optional arguments.

warn

public void warn(java.lang.String message,
                 java.lang.Object... args)
"Silent" logger implementation does not log anything.

Specified by:
warn in interface ILoggerEx
Parameters:
message - the message to log.
args - parameters to the message.
See Also:
MessageFormat

isError

public boolean isError()
Returns false. "Silent" logger implementation does not log anything.

Specified by:
isError in interface ILogger
Returns:
boolean - true if this Logger is enabled for level ERROR, false otherwise.

error

public void error(java.lang.Object message)
"Silent" logger implementation does not log anything.

Specified by:
error in interface ILogger
Parameters:
message - the message object to log.

error

public void error(java.lang.Object message,
                  java.lang.Throwable thr)
"Silent" logger implementation does not log anything.

Specified by:
error in interface ILogger
Parameters:
message - the message object to log.
thr - the exception to log, including its stack trace.

errorFormat

public void errorFormat(java.lang.String message,
                        java.lang.Object args)
"Silent" logger implementation does not log anything.

Specified by:
errorFormat in interface ILogger
Parameters:
message - the message to log.
args - parameters to the message.
See Also:
MessageFormat

error

public void error(LmsMessageTemplate key,
                  java.lang.Object... args)
"Silent" logger implementation does not log anything.

Specified by:
error in interface LmsEventLogger
Parameters:
key - the key used for localization.
args - optional arguments.

error

public void error(LogCategory category,
                  LmsMessageTemplate key,
                  java.lang.Object... args)
"Silent" logger implementation does not log anything.

Specified by:
error in interface LmsEventLogger
Parameters:
category - the log event category.
key - the key used for localization.
args - optional arguments.

error

public void error(java.lang.String message,
                  java.lang.Object... args)
"Silent" logger implementation does not log anything.

Specified by:
error in interface ILoggerEx
Parameters:
message - the message to log.
args - parameters to the message.
See Also:
MessageFormat

isFatalError

public boolean isFatalError()
Returns false. "Silent" logger implementation does not log anything.

Specified by:
isFatalError in interface ILogger
Returns:
boolean - true if this Logger is enabled for level FATAL ERROR, false otherwise.

fatalError

public void fatalError(java.lang.Object message)
"Silent" logger implementation does not log anything.

Specified by:
fatalError in interface ILogger
Parameters:
message - the message to log.

fatalError

public void fatalError(java.lang.Object message,
                       java.lang.Throwable thr)
"Silent" logger implementation does not log anything.

Specified by:
fatalError in interface ILogger
Parameters:
message - the message object to log.
thr - the exception to log, including its stack trace.

fatalErrorFormat

public void fatalErrorFormat(java.lang.String message,
                             java.lang.Object args)
"Silent" logger implementation does not log anything.

Specified by:
fatalErrorFormat in interface ILogger
Parameters:
message - the message to log.
args - parameters to the message.
See Also:
MessageFormat

fatalError

public void fatalError(LmsMessageTemplate key,
                       java.lang.Object... args)
"Silent" logger implementation does not log anything.

Specified by:
fatalError in interface LmsEventLogger
Parameters:
key - the key used for localization.
args - optional arguments.

fatalError

public void fatalError(LogCategory category,
                       LmsMessageTemplate key,
                       java.lang.Object... args)
"Silent" logger implementation does not log anything.

Specified by:
fatalError in interface LmsEventLogger
Parameters:
category - the log event category.
key - the key used for localization.
args - optional arguments.

fatal

public void fatal(LmsMessageTemplate key,
                  java.lang.Object... args)
"Silent" logger implementation does not log anything.

Specified by:
fatal in interface LmsEventLogger
Parameters:
key - the key used for localization.
args - optional arguments.

fatal

public void fatal(LogCategory category,
                  LmsMessageTemplate key,
                  java.lang.Object... args)
"Silent" logger implementation does not log anything.

Specified by:
fatal in interface LmsEventLogger
Parameters:
category - the log event category.
key - the key used for localization.
args - optional arguments.

fatal

public void fatal(java.lang.String message,
                  java.lang.Object... args)
"Silent" logger implementation does not log anything.

Specified by:
fatal in interface ILoggerEx
Parameters:
message - the message to log.
args - parameters to the message.
See Also:
MessageFormat

Platform SDK Java 8.5 API Reference

Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.