java.lang.Object
org.seppiko.glf.event.AbstractLogger
- All Implemented Interfaces:
Logger
- Direct Known Subclasses:
LegacyAbstractLogger
Abstract logger implementation
- Author:
- Leonard Woo
-
Field Summary
FieldsFields inherited from interface org.seppiko.glf.api.Logger
ROOT_LOGGER_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidLog a message at the DEBUG level according to the specified format and arguments.voidLog a message at the DEBUG level according to the specified format and argument.voidLog a message at the DEBUG level according to the specified format and arguments.voidLog a message at the DEBUG level according to the specified format and arguments and an exception (throwable) with an accompanying message.voidLog a message at the DEBUG level according to the specified format and argument and an exception (throwable) with an accompanying message.voidLog an exception (throwable) at the DEBUG level with an accompanying message.voidLog a message with the specific Marker at the DEBUG level.voidThis method is similar toLogger.debug(String, Object)method except that the marker data is also taken into consideration.voidThis method is similar toLogger.debug(String, Object...)method except that the marker data is also taken into consideration.voidThis method is similar toLogger.debug(String, Object[], Throwable)method except that the marker data is also taken into consideration.voidThis method is similar toLogger.debug(String, Object, Throwable)method except that the marker data is also taken into consideration.voidThis method is similar toLogger.debug(String, Throwable)method except that the marker data is also taken into consideration.voidLog a message at the ERROR level according to the specified format and arguments.voidLog a message at the ERROR level according to the specified format and argument.voidLog a message at the ERROR level according to the specified format and arguments.voidLog a message at the ERROR level according to the specified format and arguments and an exception (throwable) with an accompanying message.voidLog a message at the ERROR level according to the specified format and argument and an exception (throwable) with an accompanying message.voidLog an exception (throwable) at the ERROR level with an accompanying message.voidLog a message with the specific Marker at the ERROR level.voidThis method is similar toLogger.error(String, Object)method except that the marker data is also taken into consideration.voidThis method is similar toLogger.error(String, Object...)method except that the marker data is also taken into consideration.voidThis method is similar toLogger.error(String, Object[], Throwable)method except that the marker data is also taken into consideration.voidThis method is similar toLogger.error(String, Object, Throwable)method except that the marker data is also taken into consideration.voidThis method is similar toLogger.error(String, Throwable)method except that the marker data is also taken into consideration.voidLog a message at the FATAL level according to the specified format and arguments.voidLog a message at the FATAL level according to the specified format and argument.voidLog a message at the FATAL level according to the specified format and arguments.voidLog a message at the FATAL level according to the specified format and arguments and an exception (throwable) with an accompanying message.voidLog a message at the FATAL level according to the specified format and argument and an exception (throwable) with an accompanying message.voidLog an exception (throwable) at the FATAL level with an accompanying message.voidLog a message with the specific Marker at the FATAL level.voidThis method is similar toLogger.fatal(String, Object)method except that the marker data is also taken into consideration.voidThis method is similar toLogger.fatal(String, Object...)method except that the marker data is also taken into consideration.voidThis method is similar toLogger.fatal(String, Object[], Throwable)method except that the marker data is also taken into consideration.voidThis method is similar toLogger.fatal(String, Object, Throwable)method except that the marker data is also taken into consideration.voidThis method is similar toLogger.fatal(String, Throwable)method except that the marker data is also taken into consideration.protected abstract StringFQCN is a real service name.getName()Return the name of thisLoggerinstance.protected abstract voidhandleNormalizedLoggingCall(Level level, Marker marker, String msg, Object[] arguments, Throwable cause) A method likeLocationLoggerfor log callervoidLog a message at the INFO level according to the specified format and arguments.voidLog a message at the INFO level according to the specified format and argument.voidLog a message at the INFO level according to the specified format and arguments.voidLog a message at the INFO level according to the specified format and arguments and an exception (throwable) with an accompanying message.voidLog a message at the INFO level according to the specified format and argument and an exception (throwable) with an accompanying message.voidLog an exception (throwable) at the INFO level with an accompanying message.voidLog a message with the specific Marker at the INFO level.voidThis method is similar toLogger.info(String, Object)method except that the marker data is also taken into consideration.voidThis method is similar toLogger.info(String, Object...)method except that the marker data is also taken into consideration.voidThis method is similar toLogger.info(String, Object[], Throwable)method except that the marker data is also taken into consideration.voidThis method is similar toLogger.info(String, Object, Throwable)method except that the marker data is also taken into consideration.voidThis method is similar toLogger.info(String, Throwable)method except that the marker data is also taken into consideration.voidLog a message at the TRACE level according to the specified format and arguments.voidLog a message at the TRACE level according to the specified format and argument.voidLog a message at the TRACE level according to the specified format and arguments.voidLog a message at the TRACE level according to the specified format and arguments and an exception (throwable) with an accompanying message.voidLog a message at the TRACE level according to the specified format and argument and an exception (throwable) with an accompanying message.voidLog an exception (throwable) at the TRACE level with an accompanying message.voidLog a message with the specific Marker at the TRACE level.voidThis method is similar toLogger.trace(String, Object)method except that the marker data is also taken into consideration.voidThis method is similar toLogger.trace(String, Object...)method except that the marker data is also taken into consideration.voidThis method is similar toLogger.trace(String, Object[], Throwable)method except that the marker data is also taken into consideration.voidThis method is similar toLogger.trace(String, Object, Throwable)method except that the marker data is also taken into consideration.voidThis method is similar toLogger.trace(String, Throwable)method except that the marker data is also taken into consideration.voidLog a message at the WARN level according to the specified format and arguments.voidLog a message at the WARN level according to the specified format and argument.voidLog a message at the WARN level according to the specified format and arguments.voidLog a message at the WARN level according to the specified format and arguments and an exception (throwable) with an accompanying message.voidLog a message at the WARN level according to the specified format and argument and an exception (throwable) with an accompanying message.voidLog an exception (throwable) at the WARN level with an accompanying message.voidLog a message with the specific Marker at the WARN level.voidThis method is similar toLogger.warn(String, Object)method except that the marker data is also taken into consideration.voidThis method is similar toLogger.warn(String, Object...)method except that the marker data is also taken into consideration.voidThis method is similar toLogger.warn(String, Object[], Throwable)method except that the marker data is also taken into consideration.voidThis method is similar toLogger.warn(String, Object, Throwable)method except that the marker data is also taken into consideration.voidThis method is similar toLogger.warn(String, Throwable)method except that the marker data is also taken into consideration.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.seppiko.glf.api.Logger
atDebug, atError, atFatal, atInfo, atLevel, atTrace, atWarn, isDebugEnabled, isDebugEnabled, isEnable, isEnable, isErrorEnabled, isErrorEnabled, isFatalEnabled, isFatalEnabled, isInfoEnabled, isInfoEnabled, isTraceEnabled, isTraceEnabled, isWarnEnabled, isWarnEnabled
-
Field Details
-
name
-
-
Constructor Details
-
AbstractLogger
public AbstractLogger()
-
-
Method Details
-
getName
Description copied from interface:LoggerReturn the name of thisLoggerinstance. -
trace
Description copied from interface:LoggerLog a message at the TRACE level according to the specified format and arguments. -
trace
Description copied from interface:LoggerLog a message at the TRACE level according to the specified format and argument. -
trace
Description copied from interface:LoggerLog a message at the TRACE level according to the specified format and arguments. -
trace
Description copied from interface:LoggerLog an exception (throwable) at the TRACE level with an accompanying message. -
trace
Description copied from interface:LoggerLog a message at the TRACE level according to the specified format and argument and an exception (throwable) with an accompanying message. -
trace
Description copied from interface:LoggerLog a message at the TRACE level according to the specified format and arguments and an exception (throwable) with an accompanying message. -
trace
Description copied from interface:LoggerLog a message with the specific Marker at the TRACE level. -
trace
Description copied from interface:LoggerThis method is similar toLogger.trace(String, Object)method except that the marker data is also taken into consideration. -
trace
Description copied from interface:LoggerThis method is similar toLogger.trace(String, Object...)method except that the marker data is also taken into consideration. -
trace
Description copied from interface:LoggerThis method is similar toLogger.trace(String, Throwable)method except that the marker data is also taken into consideration. -
trace
Description copied from interface:LoggerThis method is similar toLogger.trace(String, Object, Throwable)method except that the marker data is also taken into consideration. -
trace
Description copied from interface:LoggerThis method is similar toLogger.trace(String, Object[], Throwable)method except that the marker data is also taken into consideration. -
debug
Description copied from interface:LoggerLog a message at the DEBUG level according to the specified format and arguments. -
debug
Description copied from interface:LoggerLog a message at the DEBUG level according to the specified format and argument. -
debug
Description copied from interface:LoggerLog a message at the DEBUG level according to the specified format and arguments. -
debug
Description copied from interface:LoggerLog an exception (throwable) at the DEBUG level with an accompanying message. -
debug
Description copied from interface:LoggerLog a message at the DEBUG level according to the specified format and argument and an exception (throwable) with an accompanying message. -
debug
Description copied from interface:LoggerLog a message at the DEBUG level according to the specified format and arguments and an exception (throwable) with an accompanying message. -
debug
Description copied from interface:LoggerLog a message with the specific Marker at the DEBUG level. -
debug
Description copied from interface:LoggerThis method is similar toLogger.debug(String, Object)method except that the marker data is also taken into consideration. -
debug
Description copied from interface:LoggerThis method is similar toLogger.debug(String, Object...)method except that the marker data is also taken into consideration. -
debug
Description copied from interface:LoggerThis method is similar toLogger.debug(String, Throwable)method except that the marker data is also taken into consideration. -
debug
Description copied from interface:LoggerThis method is similar toLogger.debug(String, Object, Throwable)method except that the marker data is also taken into consideration. -
debug
Description copied from interface:LoggerThis method is similar toLogger.debug(String, Object[], Throwable)method except that the marker data is also taken into consideration. -
info
Description copied from interface:LoggerLog a message at the INFO level according to the specified format and arguments. -
info
Description copied from interface:LoggerLog a message at the INFO level according to the specified format and argument. -
info
Description copied from interface:LoggerLog a message at the INFO level according to the specified format and arguments. -
info
Description copied from interface:LoggerLog an exception (throwable) at the INFO level with an accompanying message. -
info
Description copied from interface:LoggerLog a message at the INFO level according to the specified format and argument and an exception (throwable) with an accompanying message. -
info
Description copied from interface:LoggerLog a message at the INFO level according to the specified format and arguments and an exception (throwable) with an accompanying message. -
info
Description copied from interface:LoggerLog a message with the specific Marker at the INFO level. -
info
Description copied from interface:LoggerThis method is similar toLogger.info(String, Object)method except that the marker data is also taken into consideration. -
info
Description copied from interface:LoggerThis method is similar toLogger.info(String, Object...)method except that the marker data is also taken into consideration. -
info
Description copied from interface:LoggerThis method is similar toLogger.info(String, Throwable)method except that the marker data is also taken into consideration. -
info
Description copied from interface:LoggerThis method is similar toLogger.info(String, Object, Throwable)method except that the marker data is also taken into consideration. -
info
Description copied from interface:LoggerThis method is similar toLogger.info(String, Object[], Throwable)method except that the marker data is also taken into consideration. -
warn
Description copied from interface:LoggerLog a message at the WARN level according to the specified format and arguments. -
warn
Description copied from interface:LoggerLog a message at the WARN level according to the specified format and argument. -
warn
Description copied from interface:LoggerLog a message at the WARN level according to the specified format and arguments. -
warn
Description copied from interface:LoggerLog an exception (throwable) at the WARN level with an accompanying message. -
warn
Description copied from interface:LoggerLog a message at the WARN level according to the specified format and argument and an exception (throwable) with an accompanying message. -
warn
Description copied from interface:LoggerLog a message at the WARN level according to the specified format and arguments and an exception (throwable) with an accompanying message. -
warn
Description copied from interface:LoggerLog a message with the specific Marker at the WARN level. -
warn
Description copied from interface:LoggerThis method is similar toLogger.warn(String, Object)method except that the marker data is also taken into consideration. -
warn
Description copied from interface:LoggerThis method is similar toLogger.warn(String, Object...)method except that the marker data is also taken into consideration. -
warn
Description copied from interface:LoggerThis method is similar toLogger.warn(String, Throwable)method except that the marker data is also taken into consideration. -
warn
Description copied from interface:LoggerThis method is similar toLogger.warn(String, Object, Throwable)method except that the marker data is also taken into consideration. -
warn
Description copied from interface:LoggerThis method is similar toLogger.warn(String, Object[], Throwable)method except that the marker data is also taken into consideration. -
error
Description copied from interface:LoggerLog a message at the ERROR level according to the specified format and arguments. -
error
Description copied from interface:LoggerLog a message at the ERROR level according to the specified format and argument. -
error
Description copied from interface:LoggerLog a message at the ERROR level according to the specified format and arguments. -
error
Description copied from interface:LoggerLog an exception (throwable) at the ERROR level with an accompanying message. -
error
Description copied from interface:LoggerLog a message at the ERROR level according to the specified format and argument and an exception (throwable) with an accompanying message. -
error
Description copied from interface:LoggerLog a message at the ERROR level according to the specified format and arguments and an exception (throwable) with an accompanying message. -
error
Description copied from interface:LoggerLog a message with the specific Marker at the ERROR level. -
error
Description copied from interface:LoggerThis method is similar toLogger.error(String, Object)method except that the marker data is also taken into consideration. -
error
Description copied from interface:LoggerThis method is similar toLogger.error(String, Object...)method except that the marker data is also taken into consideration. -
error
Description copied from interface:LoggerThis method is similar toLogger.error(String, Throwable)method except that the marker data is also taken into consideration. -
error
Description copied from interface:LoggerThis method is similar toLogger.error(String, Object, Throwable)method except that the marker data is also taken into consideration. -
error
Description copied from interface:LoggerThis method is similar toLogger.error(String, Object[], Throwable)method except that the marker data is also taken into consideration. -
fatal
Description copied from interface:LoggerLog a message at the FATAL level according to the specified format and arguments. -
fatal
Description copied from interface:LoggerLog a message at the FATAL level according to the specified format and argument. -
fatal
Description copied from interface:LoggerLog a message at the FATAL level according to the specified format and arguments. -
fatal
Description copied from interface:LoggerLog an exception (throwable) at the FATAL level with an accompanying message. -
fatal
Description copied from interface:LoggerLog a message at the FATAL level according to the specified format and argument and an exception (throwable) with an accompanying message. -
fatal
Description copied from interface:LoggerLog a message at the FATAL level according to the specified format and arguments and an exception (throwable) with an accompanying message. -
fatal
Description copied from interface:LoggerLog a message with the specific Marker at the FATAL level. -
fatal
Description copied from interface:LoggerThis method is similar toLogger.fatal(String, Object)method except that the marker data is also taken into consideration. -
fatal
Description copied from interface:LoggerThis method is similar toLogger.fatal(String, Object...)method except that the marker data is also taken into consideration. -
fatal
Description copied from interface:LoggerThis method is similar toLogger.fatal(String, Throwable)method except that the marker data is also taken into consideration. -
fatal
Description copied from interface:LoggerThis method is similar toLogger.fatal(String, Object, Throwable)method except that the marker data is also taken into consideration. -
fatal
Description copied from interface:LoggerThis method is similar toLogger.fatal(String, Object[], Throwable)method except that the marker data is also taken into consideration. -
getFullyQualifiedCallerName
FQCN is a real service name.- Returns:
- Fully Qualified Caller Name
-
handleNormalizedLoggingCall
protected abstract void handleNormalizedLoggingCall(Level level, Marker marker, String msg, Object[] arguments, Throwable cause) A method likeLocationLoggerfor log caller- Parameters:
level- Logger levelmarker- Logger markermsg- Logger messagearguments- Logger argument objectcause- Logger Throwable
-