Package org.jboss.logging
Class Logger
java.lang.Object
org.jboss.logging.Logger
- All Implemented Interfaces:
Serializable,BasicLogger
An abstracted logging entry point.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidIssue a log message with a level of DEBUG.voidDeprecated.voidDeprecated.To log a message with parameters, usingdebugv(Throwable, String, Object...)is recommended.voidIssue a log message and throwable with a level of DEBUG.voidIssue a log message with parameters and a throwable with a level of DEBUG.voidIssue a log message and throwable with a level of DEBUG and a specific logger class name.voidIssue a formatted log message with a level of DEBUG.voidIssue a formatted log message with a level of DEBUG.voidIssue a formatted log message with a level of DEBUG.voidIssue a formatted log message with a level of DEBUG.voidIssue a formatted log message with a level of DEBUG.voidIssue a formatted log message with a level of DEBUG.voidIssue a formatted log message with a level of DEBUG.voidIssue a formatted log message with a level of DEBUG.voidIssue a formatted log message with a level of DEBUG.voidIssue a formatted log message with a level of DEBUG.voidIssue a formatted log message with a level of DEBUG.voidIssue a formatted log message with a level of DEBUG.voidIssue a formatted log message with a level of DEBUG.voidIssue a formatted log message with a level of DEBUG.voidIssue a formatted log message with a level of DEBUG.voidIssue a formatted log message with a level of DEBUG.voidIssue a formatted log message with a level of DEBUG.voidIssue a formatted log message with a level of DEBUG.voidIssue a formatted log message with a level of DEBUG.voidIssue a formatted log message with a level of DEBUG.voidIssue a formatted log message with a level of DEBUG.voidIssue a formatted log message with a level of DEBUG.voidIssue a formatted log message with a level of DEBUG.voidIssue a formatted log message with a level of DEBUG.voidIssue a formatted log message with a level of DEBUG.voidIssue a formatted log message with a level of DEBUG.voidIssue a formatted log message with a level of DEBUG.voidIssue a formatted log message with a level of DEBUG.voidIssue a formatted log message with a level of DEBUG.voidIssue a formatted log message with a level of DEBUG.voidIssue a formatted log message with a level of DEBUG.voidIssue a formatted log message with a level of DEBUG.voidIssue a log message with a level of DEBUG usingMessageFormat-style formatting.voidIssue a log message with a level of DEBUG usingMessageFormat-style formatting.voidIssue a log message with a level of DEBUG usingMessageFormat-style formatting.voidIssue a log message with a level of DEBUG usingMessageFormat-style formatting.voidIssue a log message with a level of DEBUG usingMessageFormat-style formatting.voidIssue a log message with a level of DEBUG usingMessageFormat-style formatting.voidIssue a log message with a level of DEBUG usingMessageFormat-style formatting.voidIssue a log message with a level of DEBUG usingMessageFormat-style formatting.protected abstract voiddoLog(Logger.Level level, String loggerClassName, Object message, Object[] parameters, Throwable thrown) Implementation log method (standard parameter formatting).protected abstract voiddoLogf(Logger.Level level, String loggerClassName, String format, Object[] parameters, Throwable thrown) Implementation log method (printf formatting).voidIssue a log message with a level of ERROR.voidDeprecated.To log a message with parameters, usingerrorv(String, Object...)is recommended.voidDeprecated.To log a message with parameters, usingerrorv(Throwable, String, Object...)is recommended.voidIssue a log message and throwable with a level of ERROR.voidIssue a log message with parameters and a throwable with a level of ERROR.voidIssue a log message and throwable with a level of ERROR and a specific logger class name.voidIssue a formatted log message with a level of ERROR.voidIssue a formatted log message with a level of ERROR.voidIssue a formatted log message with a level of ERROR.voidIssue a formatted log message with a level of ERROR.voidIssue a formatted log message with a level of ERROR.voidIssue a formatted log message with a level of ERROR.voidIssue a formatted log message with a level of ERROR.voidIssue a formatted log message with a level of ERROR.voidIssue a log message with a level of ERROR usingMessageFormat-style formatting.voidIssue a log message with a level of ERROR usingMessageFormat-style formatting.voidIssue a log message with a level of ERROR usingMessageFormat-style formatting.voidIssue a log message with a level of ERROR usingMessageFormat-style formatting.voidIssue a log message with a level of ERROR usingMessageFormat-style formatting.voidIssue a log message with a level of ERROR usingMessageFormat-style formatting.voidIssue a log message with a level of ERROR usingMessageFormat-style formatting.voidIssue a log message with a level of ERROR usingMessageFormat-style formatting.voidIssue a log message with a level of FATAL.voidDeprecated.To log a message with parameters, usingfatalv(String, Object...)is recommended.voidDeprecated.To log a message with parameters, usingfatalv(Throwable, String, Object...)is recommended.voidIssue a log message and throwable with a level of FATAL.voidIssue a log message with parameters and a throwable with a level of FATAL.voidIssue a log message and throwable with a level of FATAL and a specific logger class name.voidIssue a formatted log message with a level of FATAL.voidIssue a formatted log message with a level of FATAL.voidIssue a formatted log message with a level of FATAL.voidIssue a formatted log message with a level of FATAL.voidIssue a formatted log message with a level of FATAL.voidIssue a formatted log message with a level of FATAL.voidIssue a formatted log message with a level of FATAL.voidIssue a formatted log message with a level of FATAL.voidIssue a log message with a level of FATAL usingMessageFormat-style formatting.voidIssue a log message with a level of FATAL usingMessageFormat-style formatting.voidIssue a log message with a level of FATAL usingMessageFormat-style formatting.voidIssue a log message with a level of FATAL usingMessageFormat-style formatting.voidIssue a log message with a level of FATAL usingMessageFormat-style formatting.voidIssue a log message with a level of FATAL usingMessageFormat-style formatting.voidIssue a log message with a level of FATAL usingMessageFormat-style formatting.voidIssue a log message with a level of FATAL usingMessageFormat-style formatting.static LoggerGet a Logger instance given the name of a class.static LoggerGet a Logger instance given the name of a class with the given suffix.static LoggerGet a Logger instance given the logger name.static LoggerGet a Logger instance given the logger name with the given suffix.static <T> TgetMessageLogger(Class<T> type, String category) Deprecated, for removal: This API element is subject to removal in a future version.UsegetMessageLogger(Lookup,Class,String)instead to avoid errors in modular environments.static <T> TgetMessageLogger(Class<T> type, String category, Locale locale) Deprecated, for removal: This API element is subject to removal in a future version.UsegetMessageLogger(Lookup,Class,String,Locale)instead to avoid errors in modular environments.static <T> TgetMessageLogger(MethodHandles.Lookup lookup, Class<T> type, String category) Get a typed logger which implements the given interface.static <T> TgetMessageLogger(MethodHandles.Lookup lookup, Class<T> type, String category, Locale locale) Get a typed logger which implements the given interface.getName()Return the name of this logger.voidIssue a log message with a level of INFO.voidDeprecated.To log a message with parameters, usinginfov(String, Object...)is recommended.voidDeprecated.To log a message with parameters, usinginfov(Throwable, String, Object...)is recommended.voidIssue a log message and throwable with a level of INFO.voidIssue a log message with parameters and a throwable with a level of INFO.voidIssue a log message and throwable with a level of INFO and a specific logger class name.voidIssue a formatted log message with a level of INFO.voidIssue a formatted log message with a level of INFO.voidIssue a formatted log message with a level of INFO.voidIssue a formatted log message with a level of INFO.voidIssue a formatted log message with a level of INFO.voidIssue a formatted log message with a level of INFO.voidIssue a formatted log message with a level of INFO.voidIssue a formatted log message with a level of INFO.voidIssue a log message with a level of INFO usingMessageFormat-style formatting.voidIssue a log message with a level of INFO usingMessageFormat-style formatting.voidIssue a log message with a level of INFO usingMessageFormat-style formatting.voidIssue a log message with a level of INFO usingMessageFormat-style formatting.voidIssue a log message with a level of INFO usingMessageFormat-style formatting.voidIssue a log message with a level of INFO usingMessageFormat-style formatting.voidIssue a log message with a level of INFO usingMessageFormat-style formatting.voidIssue a log message with a level of INFO usingMessageFormat-style formatting.booleanCheck to see if theDEBUGlevel is enabled for this logger.booleanCheck to see if theINFOlevel is enabled for this logger.booleanCheck to see if theTRACElevel is enabled for this logger.voidIssue a log message with parameters and a throwable at the given log level.voidlog(Logger.Level level, Object message) Log a message at the given level.voidlog(Logger.Level level, Object message, Object[] params) Deprecated.To log a message with parameters, usinglogv(Level, String, Object...)is recommended.voidlog(Logger.Level level, Object message, Object[] params, Throwable t) Deprecated.To log a message with parameters, usinglogv(Level, Throwable, String, Object...)is recommended.voidlog(Logger.Level level, Object message, Throwable t) Issue a log message and throwable at the given log level.voidlog(Logger.Level level, String loggerFqcn, Object message, Throwable t) Issue a log message and throwable at the given log level and a specific logger class name.voidLog a message at the given level.voidLog a message at the given level.voidlogf(String loggerFqcn, Logger.Level level, Throwable t, String format, Object param1, Object param2) Log a message at the given level.voidlogf(String loggerFqcn, Logger.Level level, Throwable t, String format, Object param1, Object param2, Object param3) Log a message at the given level.voidlogf(Logger.Level level, String format, Object param1) Issue a formatted log message at the given log level.voidlogf(Logger.Level level, String format, Object... params) Issue a formatted log message at the given log level.voidlogf(Logger.Level level, String format, Object param1, Object param2) Issue a formatted log message at the given log level.voidIssue a formatted log message at the given log level.voidlogf(Logger.Level level, Throwable t, String format, Object param1) Issue a formatted log message at the given log level.voidlogf(Logger.Level level, Throwable t, String format, Object... params) Issue a formatted log message at the given log level.voidIssue a formatted log message at the given log level.voidIssue a formatted log message at the given log level.voidIssue a log message at the given log level usingMessageFormat-style formatting.voidIssue a log message at the given log level usingMessageFormat-style formatting.voidlogv(String loggerFqcn, Logger.Level level, Throwable t, String format, Object param1, Object param2) Issue a log message at the given log level usingMessageFormat-style formatting.voidlogv(String loggerFqcn, Logger.Level level, Throwable t, String format, Object param1, Object param2, Object param3) Issue a log message at the given log level usingMessageFormat-style formatting.voidlogv(Logger.Level level, String format, Object param1) Issue a log message at the given log level usingMessageFormat-style formatting.voidlogv(Logger.Level level, String format, Object... params) Issue a log message at the given log level usingMessageFormat-style formatting.voidlogv(Logger.Level level, String format, Object param1, Object param2) Issue a log message at the given log level usingMessageFormat-style formatting.voidIssue a log message at the given log level usingMessageFormat-style formatting.voidlogv(Logger.Level level, Throwable t, String format, Object param1) Issue a log message at the given log level usingMessageFormat-style formatting.voidlogv(Logger.Level level, Throwable t, String format, Object... params) Issue a log message at the given log level usingMessageFormat-style formatting.voidIssue a log message at the given log level usingMessageFormat-style formatting.voidIssue a log message at the given log level usingMessageFormat-style formatting.voidIssue a log message with a level of TRACE.voidDeprecated.To log a message with parameters, usingtracev(String, Object...)is recommended.voidDeprecated.To log a message with parameters, usingtracev(Throwable, String, Object...)is recommended.voidIssue a log message and throwable with a level of TRACE.voidIssue a log message with parameters and a throwable with a level of TRACE.voidIssue a log message and throwable with a level of TRACE and a specific logger class name.voidIssue a formatted log message with a level of TRACE.voidIssue a formatted log message with a level of TRACE.voidIssue a formatted log message with a level of TRACE.voidIssue a formatted log message with a level of TRACE.voidIssue a formatted log message with a level of TRACE.voidIssue a formatted log message with a level of TRACE.voidIssue a formatted log message with a level of TRACE.voidIssue a formatted log message with a level of TRACE.voidIssue a formatted log message with a level of TRACE.voidIssue a formatted log message with a level of TRACE.voidIssue a formatted log message with a level of TRACE.voidIssue a formatted log message with a level of TRACE.voidIssue a formatted log message with a level of TRACE.voidIssue a formatted log message with a level of TRACE.voidIssue a formatted log message with a level of TRACE.voidIssue a formatted log message with a level of TRACE.voidIssue a formatted log message with a level of TRACE.voidIssue a formatted log message with a level of TRACE.voidIssue a formatted log message with a level of TRACE.voidIssue a formatted log message with a level of TRACE.voidIssue a formatted log message with a level of TRACE.voidIssue a formatted log message with a level of TRACE.voidIssue a formatted log message with a level of TRACE.voidIssue a formatted log message with a level of TRACE.voidIssue a formatted log message with a level of TRACE.voidIssue a formatted log message with a level of TRACE.voidIssue a formatted log message with a level of TRACE.voidIssue a formatted log message with a level of TRACE.voidIssue a formatted log message with a level of TRACE.voidIssue a formatted log message with a level of TRACE.voidIssue a formatted log message with a level of TRACE.voidIssue a formatted log message with a level of TRACE.voidIssue a log message with a level of TRACE usingMessageFormat-style formatting.voidIssue a log message with a level of TRACE usingMessageFormat-style formatting.voidIssue a log message with a level of TRACE usingMessageFormat-style formatting.voidIssue a log message with a level of TRACE usingMessageFormat-style formatting.voidIssue a log message with a level of TRACE usingMessageFormat-style formatting.voidIssue a log message with a level of TRACE usingMessageFormat-style formatting.voidIssue a log message with a level of TRACE usingMessageFormat-style formatting.voidIssue a log message with a level of TRACE usingMessageFormat-style formatting.voidIssue a log message with a level of WARN.voidDeprecated.To log a message with parameters, usingwarnv(String, Object...)is recommended.voidDeprecated.To log a message with parameters, usingwarnv(Throwable, String, Object...)is recommended.voidIssue a log message and throwable with a level of WARN.voidIssue a log message with parameters and a throwable with a level of WARN.voidIssue a log message and throwable with a level of WARN and a specific logger class name.voidIssue a formatted log message with a level of WARN.voidIssue a formatted log message with a level of WARN.voidIssue a formatted log message with a level of WARN.voidIssue a formatted log message with a level of WARN.voidIssue a formatted log message with a level of WARN.voidIssue a formatted log message with a level of WARN.voidIssue a formatted log message with a level of WARN.voidIssue a formatted log message with a level of WARN.voidIssue a log message with a level of WARN usingMessageFormat-style formatting.voidIssue a log message with a level of WARN usingMessageFormat-style formatting.voidIssue a log message with a level of WARN usingMessageFormat-style formatting.voidIssue a log message with a level of WARN usingMessageFormat-style formatting.voidIssue a log message with a level of WARN usingMessageFormat-style formatting.voidIssue a log message with a level of WARN usingMessageFormat-style formatting.voidIssue a log message with a level of WARN usingMessageFormat-style formatting.voidIssue a log message with a level of WARN usingMessageFormat-style formatting.protected final ObjectRead resolver; replaces deserialized instance with a canonical instance.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.logging.BasicLogger
isEnabled
-
Constructor Details
-
Logger
Construct a new instance.- Parameters:
name- the logger category name
-
-
Method Details
-
getName
Return the name of this logger.- Returns:
- The name of this logger.
-
doLog
protected abstract void doLog(Logger.Level level, String loggerClassName, Object message, Object[] parameters, Throwable thrown) Implementation log method (standard parameter formatting).- Parameters:
level- the levelloggerClassName- the logger class namemessage- the message to logparameters- the parameters of the messagethrown- the exception which was thrown, if any
-
doLogf
protected abstract void doLogf(Logger.Level level, String loggerClassName, String format, Object[] parameters, Throwable thrown) Implementation log method (printf formatting).- Parameters:
level- the levelloggerClassName- the logger class nameformat- the format string to logparameters- the parameters of the messagethrown- the exception which was thrown, if any
-
isTraceEnabled
public boolean isTraceEnabled()Check to see if theTRACElevel is enabled for this logger.- Specified by:
isTraceEnabledin interfaceBasicLogger- Returns:
trueif messages logged atLogger.Level.TRACEmay be accepted,falseotherwise
-
trace
Issue a log message with a level of TRACE.- Specified by:
tracein interfaceBasicLogger- Parameters:
message- the message
-
trace
Issue a log message and throwable with a level of TRACE.- Specified by:
tracein interfaceBasicLogger- Parameters:
message- the messaget- the throwable
-
trace
Issue a log message and throwable with a level of TRACE and a specific logger class name.- Specified by:
tracein interfaceBasicLogger- Parameters:
loggerFqcn- the logger class namemessage- the messaget- the throwable
-
trace
Deprecated.To log a message with parameters, usingtracev(String, Object...)is recommended.Issue a log message with parameters with a level of TRACE.- Parameters:
message- the messageparams- the message parameters
-
trace
Deprecated.To log a message with parameters, usingtracev(Throwable, String, Object...)is recommended.Issue a log message with parameters and a throwable with a level of TRACE.- Parameters:
message- the messageparams- the message parameterst- the throwable
-
trace
Issue a log message with parameters and a throwable with a level of TRACE.- Specified by:
tracein interfaceBasicLogger- Parameters:
loggerFqcn- the logger class namemessage- the messageparams- the message parameterst- the throwable
-
tracev
Issue a log message with a level of TRACE usingMessageFormat-style formatting.- Specified by:
tracevin interfaceBasicLogger- Parameters:
format- the message format stringparams- the parameters
-
tracev
Issue a log message with a level of TRACE usingMessageFormat-style formatting.- Specified by:
tracevin interfaceBasicLogger- Parameters:
format- the message format stringparam1- the sole parameter
-
tracev
Issue a log message with a level of TRACE usingMessageFormat-style formatting.- Specified by:
tracevin interfaceBasicLogger- Parameters:
format- the message format stringparam1- the first parameterparam2- the second parameter
-
tracev
Issue a log message with a level of TRACE usingMessageFormat-style formatting.- Specified by:
tracevin interfaceBasicLogger- Parameters:
format- the message format stringparam1- the first parameterparam2- the second parameterparam3- the third parameter
-
tracev
Issue a log message with a level of TRACE usingMessageFormat-style formatting.- Specified by:
tracevin interfaceBasicLogger- Parameters:
t- the throwableformat- the message format stringparams- the parameters
-
tracev
Issue a log message with a level of TRACE usingMessageFormat-style formatting.- Specified by:
tracevin interfaceBasicLogger- Parameters:
t- the throwableformat- the message format stringparam1- the sole parameter
-
tracev
Issue a log message with a level of TRACE usingMessageFormat-style formatting.- Specified by:
tracevin interfaceBasicLogger- Parameters:
t- the throwableformat- the message format stringparam1- the first parameterparam2- the second parameter
-
tracev
Issue a log message with a level of TRACE usingMessageFormat-style formatting.- Specified by:
tracevin interfaceBasicLogger- Parameters:
t- the throwableformat- the message format stringparam1- the first parameterparam2- the second parameterparam3- the third parameter
-
tracef
Issue a formatted log message with a level of TRACE.- Specified by:
tracefin interfaceBasicLogger- Parameters:
format- the format string as perString.format(String, Object...)or resource bundle key thereforparams- the parameters
-
tracef
Issue a formatted log message with a level of TRACE.- Specified by:
tracefin interfaceBasicLogger- Parameters:
format- the format string as perString.format(String, Object...)or resource bundle key thereforparam1- the sole parameter
-
tracef
Issue a formatted log message with a level of TRACE.- Specified by:
tracefin interfaceBasicLogger- Parameters:
format- the format string as perString.format(String, Object...)or resource bundle key thereforparam1- the first parameterparam2- the second parameter
-
tracef
Issue a formatted log message with a level of TRACE.- Specified by:
tracefin interfaceBasicLogger- Parameters:
format- the format string as perString.format(String, Object...)or resource bundle key thereforparam1- the first parameterparam2- the second parameterparam3- the third parameter
-
tracef
Issue a formatted log message with a level of TRACE.- Specified by:
tracefin interfaceBasicLogger- Parameters:
t- the throwableformat- the format string, as perString.format(String, Object...)params- the parameters
-
tracef
Issue a formatted log message with a level of TRACE.- Specified by:
tracefin interfaceBasicLogger- Parameters:
t- the throwableformat- the format string, as perString.format(String, Object...)param1- the sole parameter
-
tracef
Issue a formatted log message with a level of TRACE.- Specified by:
tracefin interfaceBasicLogger- Parameters:
t- the throwableformat- the format string, as perString.format(String, Object...)param1- the first parameterparam2- the second parameter
-
tracef
Issue a formatted log message with a level of TRACE.- Specified by:
tracefin interfaceBasicLogger- Parameters:
t- the throwableformat- the format string, as perString.format(String, Object...)param1- the first parameterparam2- the second parameterparam3- the third parameter
-
tracef
Description copied from interface:BasicLoggerIssue a formatted log message with a level of TRACE.- Specified by:
tracefin interfaceBasicLogger- Parameters:
format- the format string, as perString.format(String, Object...)arg- the parameter
-
tracef
Description copied from interface:BasicLoggerIssue a formatted log message with a level of TRACE.- Specified by:
tracefin interfaceBasicLogger- Parameters:
format- the format string, as perString.format(String, Object...)arg1- the first parameterarg2- the second parameter
-
tracef
Description copied from interface:BasicLoggerIssue a formatted log message with a level of TRACE.- Specified by:
tracefin interfaceBasicLogger- Parameters:
format- the format string, as perString.format(String, Object...)arg1- the first parameterarg2- the second parameter
-
tracef
Description copied from interface:BasicLoggerIssue a formatted log message with a level of TRACE.- Specified by:
tracefin interfaceBasicLogger- Parameters:
format- the format string, as perString.format(String, Object...)arg1- the first parameterarg2- the second parameterarg3- the third parameter
-
tracef
Description copied from interface:BasicLoggerIssue a formatted log message with a level of TRACE.- Specified by:
tracefin interfaceBasicLogger- Parameters:
format- the format string, as perString.format(String, Object...)arg1- the first parameterarg2- the second parameterarg3- the third parameter
-
tracef
Description copied from interface:BasicLoggerIssue a formatted log message with a level of TRACE.- Specified by:
tracefin interfaceBasicLogger- Parameters:
format- the format string, as perString.format(String, Object...)arg1- the first parameterarg2- the second parameterarg3- the third parameter
-
tracef
Description copied from interface:BasicLoggerIssue a formatted log message with a level of TRACE.- Specified by:
tracefin interfaceBasicLogger- Parameters:
t- the throwableformat- the format string, as perString.format(String, Object...)arg- the parameter
-
tracef
Description copied from interface:BasicLoggerIssue a formatted log message with a level of TRACE.- Specified by:
tracefin interfaceBasicLogger- Parameters:
t- the throwableformat- the format string, as perString.format(String, Object...)arg1- the first parameterarg2- the second parameter
-
tracef
Description copied from interface:BasicLoggerIssue a formatted log message with a level of TRACE.- Specified by:
tracefin interfaceBasicLogger- Parameters:
t- the throwableformat- the format string, as perString.format(String, Object...)arg1- the first parameterarg2- the second parameter
-
tracef
Description copied from interface:BasicLoggerIssue a formatted log message with a level of TRACE.- Specified by:
tracefin interfaceBasicLogger- Parameters:
t- the throwableformat- the format string, as perString.format(String, Object...)arg1- the first parameterarg2- the second parameterarg3- the third parameter
-
tracef
Description copied from interface:BasicLoggerIssue a formatted log message with a level of TRACE.- Specified by:
tracefin interfaceBasicLogger- Parameters:
t- the throwableformat- the format string, as perString.format(String, Object...)arg1- the first parameterarg2- the second parameterarg3- the third parameter
-
tracef
Description copied from interface:BasicLoggerIssue a formatted log message with a level of TRACE.- Specified by:
tracefin interfaceBasicLogger- Parameters:
t- the throwableformat- the format string, as perString.format(String, Object...)arg1- the first parameterarg2- the second parameterarg3- the third parameter
-
tracef
Description copied from interface:BasicLoggerIssue a formatted log message with a level of TRACE.- Specified by:
tracefin interfaceBasicLogger- Parameters:
format- the format string, as perString.format(String, Object...)arg- the parameter
-
tracef
Description copied from interface:BasicLoggerIssue a formatted log message with a level of TRACE.- Specified by:
tracefin interfaceBasicLogger- Parameters:
format- the format string, as perString.format(String, Object...)arg1- the first parameterarg2- the second parameter
-
tracef
Description copied from interface:BasicLoggerIssue a formatted log message with a level of TRACE.- Specified by:
tracefin interfaceBasicLogger- Parameters:
format- the format string, as perString.format(String, Object...)arg1- the first parameterarg2- the second parameter
-
tracef
Description copied from interface:BasicLoggerIssue a formatted log message with a level of TRACE.- Specified by:
tracefin interfaceBasicLogger- Parameters:
format- the format string, as perString.format(String, Object...)arg1- the first parameterarg2- the second parameterarg3- the third parameter
-
tracef
Description copied from interface:BasicLoggerIssue a formatted log message with a level of TRACE.- Specified by:
tracefin interfaceBasicLogger- Parameters:
format- the format string, as perString.format(String, Object...)arg1- the first parameterarg2- the second parameterarg3- the third parameter
-
tracef
Description copied from interface:BasicLoggerIssue a formatted log message with a level of TRACE.- Specified by:
tracefin interfaceBasicLogger- Parameters:
format- the format string, as perString.format(String, Object...)arg1- the first parameterarg2- the second parameterarg3- the third parameter
-
tracef
Description copied from interface:BasicLoggerIssue a formatted log message with a level of TRACE.- Specified by:
tracefin interfaceBasicLogger- Parameters:
t- the throwableformat- the format string, as perString.format(String, Object...)arg- the parameter
-
tracef
Description copied from interface:BasicLoggerIssue a formatted log message with a level of TRACE.- Specified by:
tracefin interfaceBasicLogger- Parameters:
t- the throwableformat- the format string, as perString.format(String, Object...)arg1- the first parameterarg2- the second parameter
-
tracef
Description copied from interface:BasicLoggerIssue a formatted log message with a level of TRACE.- Specified by:
tracefin interfaceBasicLogger- Parameters:
t- the throwableformat- the format string, as perString.format(String, Object...)arg1- the first parameterarg2- the second parameter
-
tracef
Description copied from interface:BasicLoggerIssue a formatted log message with a level of TRACE.- Specified by:
tracefin interfaceBasicLogger- Parameters:
t- the throwableformat- the format string, as perString.format(String, Object...)arg1- the first parameterarg2- the second parameterarg3- the third parameter
-
tracef
Description copied from interface:BasicLoggerIssue a formatted log message with a level of TRACE.- Specified by:
tracefin interfaceBasicLogger- Parameters:
t- the throwableformat- the format string, as perString.format(String, Object...)arg1- the first parameterarg2- the second parameterarg3- the third parameter
-
tracef
Description copied from interface:BasicLoggerIssue a formatted log message with a level of TRACE.- Specified by:
tracefin interfaceBasicLogger- Parameters:
t- the throwableformat- the format string, as perString.format(String, Object...)arg1- the first parameterarg2- the second parameterarg3- the third parameter
-
isDebugEnabled
public boolean isDebugEnabled()Check to see if theDEBUGlevel is enabled for this logger.- Specified by:
isDebugEnabledin interfaceBasicLogger- Returns:
trueif messages logged atLogger.Level.DEBUGmay be accepted,falseotherwise
-
debug
Issue a log message with a level of DEBUG.- Specified by:
debugin interfaceBasicLogger- Parameters:
message- the message
-
debug
Issue a log message and throwable with a level of DEBUG.- Specified by:
debugin interfaceBasicLogger- Parameters:
message- the messaget- the throwable
-
debug
Issue a log message and throwable with a level of DEBUG and a specific logger class name.- Specified by:
debugin interfaceBasicLogger- Parameters:
loggerFqcn- the logger class namemessage- the messaget- the throwable
-
debug
Deprecated.To log a message with parameters, usingdebugv(String, Object...)is recommended.Issue a log message with parameters with a level of DEBUG.- Parameters:
message- the messageparams- the message parameters
-
debug
Deprecated.To log a message with parameters, usingdebugv(Throwable, String, Object...)is recommended.Issue a log message with parameters and a throwable with a level of DEBUG.- Parameters:
message- the messageparams- the message parameterst- the throwable
-
debug
Issue a log message with parameters and a throwable with a level of DEBUG.- Specified by:
debugin interfaceBasicLogger- Parameters:
loggerFqcn- the logger class namemessage- the messageparams- the message parameterst- the throwable
-
debugv
Issue a log message with a level of DEBUG usingMessageFormat-style formatting.- Specified by:
debugvin interfaceBasicLogger- Parameters:
format- the message format stringparams- the parameters
-
debugv
Issue a log message with a level of DEBUG usingMessageFormat-style formatting.- Specified by:
debugvin interfaceBasicLogger- Parameters:
format- the message format stringparam1- the sole parameter
-
debugv
Issue a log message with a level of DEBUG usingMessageFormat-style formatting.- Specified by:
debugvin interfaceBasicLogger- Parameters:
format- the message format stringparam1- the first parameterparam2- the second parameter
-
debugv
Issue a log message with a level of DEBUG usingMessageFormat-style formatting.- Specified by:
debugvin interfaceBasicLogger- Parameters:
format- the message format stringparam1- the first parameterparam2- the second parameterparam3- the third parameter
-
debugv
Issue a log message with a level of DEBUG usingMessageFormat-style formatting.- Specified by:
debugvin interfaceBasicLogger- Parameters:
t- the throwableformat- the message format stringparams- the parameters
-
debugv
Issue a log message with a level of DEBUG usingMessageFormat-style formatting.- Specified by:
debugvin interfaceBasicLogger- Parameters:
t- the throwableformat- the message format stringparam1- the sole parameter
-
debugv
Issue a log message with a level of DEBUG usingMessageFormat-style formatting.- Specified by:
debugvin interfaceBasicLogger- Parameters:
t- the throwableformat- the message format stringparam1- the first parameterparam2- the second parameter
-
debugv
Issue a log message with a level of DEBUG usingMessageFormat-style formatting.- Specified by:
debugvin interfaceBasicLogger- Parameters:
t- the throwableformat- the message format stringparam1- the first parameterparam2- the second parameterparam3- the third parameter
-
debugf
Issue a formatted log message with a level of DEBUG.- Specified by:
debugfin interfaceBasicLogger- Parameters:
format- the format string as perString.format(String, Object...)or resource bundle key thereforparams- the parameters
-
debugf
Issue a formatted log message with a level of DEBUG.- Specified by:
debugfin interfaceBasicLogger- Parameters:
format- the format string as perString.format(String, Object...)or resource bundle key thereforparam1- the sole parameter
-
debugf
Issue a formatted log message with a level of DEBUG.- Specified by:
debugfin interfaceBasicLogger- Parameters:
format- the format string as perString.format(String, Object...)or resource bundle key thereforparam1- the first parameterparam2- the second parameter
-
debugf
Issue a formatted log message with a level of DEBUG.- Specified by:
debugfin interfaceBasicLogger- Parameters:
format- the format string as perString.format(String, Object...)or resource bundle key thereforparam1- the first parameterparam2- the second parameterparam3- the third parameter
-
debugf
Issue a formatted log message with a level of DEBUG.- Specified by:
debugfin interfaceBasicLogger- Parameters:
t- the throwableformat- the format string, as perString.format(String, Object...)params- the parameters
-
debugf
Issue a formatted log message with a level of DEBUG.- Specified by:
debugfin interfaceBasicLogger- Parameters:
t- the throwableformat- the format string, as perString.format(String, Object...)param1- the sole parameter
-
debugf
Issue a formatted log message with a level of DEBUG.- Specified by:
debugfin interfaceBasicLogger- Parameters:
t- the throwableformat- the format string, as perString.format(String, Object...)param1- the first parameterparam2- the second parameter
-
debugf
Issue a formatted log message with a level of DEBUG.- Specified by:
debugfin interfaceBasicLogger- Parameters:
t- the throwableformat- the format string, as perString.format(String, Object...)param1- the first parameterparam2- the second parameterparam3- the third parameter
-
debugf
Description copied from interface:BasicLoggerIssue a formatted log message with a level of DEBUG.- Specified by:
debugfin interfaceBasicLogger- Parameters:
format- the format string, as perString.format(String, Object...)arg- the parameter
-
debugf
Description copied from interface:BasicLoggerIssue a formatted log message with a level of DEBUG.- Specified by:
debugfin interfaceBasicLogger- Parameters:
format- the format string, as perString.format(String, Object...)arg1- the first parameterarg2- the second parameter
-
debugf
Description copied from interface:BasicLoggerIssue a formatted log message with a level of DEBUG.- Specified by:
debugfin interfaceBasicLogger- Parameters:
format- the format string, as perString.format(String, Object...)arg1- the first parameterarg2- the second parameter
-
debugf
Description copied from interface:BasicLoggerIssue a formatted log message with a level of DEBUG.- Specified by:
debugfin interfaceBasicLogger- Parameters:
format- the format string, as perString.format(String, Object...)arg1- the first parameterarg2- the second parameterarg3- the third parameter
-
debugf
Description copied from interface:BasicLoggerIssue a formatted log message with a level of DEBUG.- Specified by:
debugfin interfaceBasicLogger- Parameters:
format- the format string, as perString.format(String, Object...)arg1- the first parameterarg2- the second parameterarg3- the third parameter
-
debugf
Description copied from interface:BasicLoggerIssue a formatted log message with a level of DEBUG.- Specified by:
debugfin interfaceBasicLogger- Parameters:
format- the format string, as perString.format(String, Object...)arg1- the first parameterarg2- the second parameterarg3- the third parameter
-
debugf
Description copied from interface:BasicLoggerIssue a formatted log message with a level of DEBUG.- Specified by:
debugfin interfaceBasicLogger- Parameters:
t- the throwableformat- the format string, as perString.format(String, Object...)arg- the parameter
-
debugf
Description copied from interface:BasicLoggerIssue a formatted log message with a level of DEBUG.- Specified by:
debugfin interfaceBasicLogger- Parameters:
t- the throwableformat- the format string, as perString.format(String, Object...)arg1- the first parameterarg2- the second parameter
-
debugf
Description copied from interface:BasicLoggerIssue a formatted log message with a level of DEBUG.- Specified by:
debugfin interfaceBasicLogger- Parameters:
t- the throwableformat- the format string, as perString.format(String, Object...)arg1- the first parameterarg2- the second parameter
-
debugf
Description copied from interface:BasicLoggerIssue a formatted log message with a level of DEBUG.- Specified by:
debugfin interfaceBasicLogger- Parameters:
t- the throwableformat- the format string, as perString.format(String, Object...)arg1- the first parameterarg2- the second parameterarg3- the third parameter
-
debugf
Description copied from interface:BasicLoggerIssue a formatted log message with a level of DEBUG.- Specified by:
debugfin interfaceBasicLogger- Parameters:
t- the throwableformat- the format string, as perString.format(String, Object...)arg1- the first parameterarg2- the second parameterarg3- the third parameter
-
debugf
Description copied from interface:BasicLoggerIssue a formatted log message with a level of DEBUG.- Specified by:
debugfin interfaceBasicLogger- Parameters:
t- the throwableformat- the format string, as perString.format(String, Object...)arg1- the first parameterarg2- the second parameterarg3- the third parameter
-
debugf
Description copied from interface:BasicLoggerIssue a formatted log message with a level of DEBUG.- Specified by:
debugfin interfaceBasicLogger- Parameters:
format- the format string, as perString.format(String, Object...)arg- the parameter
-
debugf
Description copied from interface:BasicLoggerIssue a formatted log message with a level of DEBUG.- Specified by:
debugfin interfaceBasicLogger- Parameters:
format- the format string, as perString.format(String, Object...)arg1- the first parameterarg2- the second parameter
-
debugf
Description copied from interface:BasicLoggerIssue a formatted log message with a level of DEBUG.- Specified by:
debugfin interfaceBasicLogger- Parameters:
format- the format string, as perString.format(String, Object...)arg1- the first parameterarg2- the second parameter
-
debugf
Description copied from interface:BasicLoggerIssue a formatted log message with a level of DEBUG.- Specified by:
debugfin interfaceBasicLogger- Parameters:
format- the format string, as perString.format(String, Object...)arg1- the first parameterarg2- the second parameterarg3- the third parameter
-
debugf
Description copied from interface:BasicLoggerIssue a formatted log message with a level of DEBUG.- Specified by:
debugfin interfaceBasicLogger- Parameters:
format- the format string, as perString.format(String, Object...)arg1- the first parameterarg2- the second parameterarg3- the third parameter
-
debugf
Description copied from interface:BasicLoggerIssue a formatted log message with a level of DEBUG.- Specified by:
debugfin interfaceBasicLogger- Parameters:
format- the format string, as perString.format(String, Object...)arg1- the first parameterarg2- the second parameterarg3- the third parameter
-
debugf
Description copied from interface:BasicLoggerIssue a formatted log message with a level of DEBUG.- Specified by:
debugfin interfaceBasicLogger- Parameters:
t- the throwableformat- the format string, as perString.format(String, Object...)arg- the parameter
-
debugf
Description copied from interface:BasicLoggerIssue a formatted log message with a level of DEBUG.- Specified by:
debugfin interfaceBasicLogger- Parameters:
t- the throwableformat- the format string, as perString.format(String, Object...)arg1- the first parameterarg2- the second parameter
-
debugf
Description copied from interface:BasicLoggerIssue a formatted log message with a level of DEBUG.- Specified by:
debugfin interfaceBasicLogger- Parameters:
t- the throwableformat- the format string, as perString.format(String, Object...)arg1- the first parameterarg2- the second parameter
-
debugf
Description copied from interface:BasicLoggerIssue a formatted log message with a level of DEBUG.- Specified by:
debugfin interfaceBasicLogger- Parameters:
t- the throwableformat- the format string, as perString.format(String, Object...)arg1- the first parameterarg2- the second parameterarg3- the third parameter
-
debugf
Description copied from interface:BasicLoggerIssue a formatted log message with a level of DEBUG.- Specified by:
debugfin interfaceBasicLogger- Parameters:
t- the throwableformat- the format string, as perString.format(String, Object...)arg1- the first parameterarg2- the second parameterarg3- the third parameter
-
debugf
Description copied from interface:BasicLoggerIssue a formatted log message with a level of DEBUG.- Specified by:
debugfin interfaceBasicLogger- Parameters:
t- the throwableformat- the format string, as perString.format(String, Object...)arg1- the first parameterarg2- the second parameterarg3- the third parameter
-
isInfoEnabled
public boolean isInfoEnabled()Check to see if theINFOlevel is enabled for this logger.- Specified by:
isInfoEnabledin interfaceBasicLogger- Returns:
trueif messages logged atLogger.Level.INFOmay be accepted,falseotherwise
-
info
Issue a log message with a level of INFO.- Specified by:
infoin interfaceBasicLogger- Parameters:
message- the message
-
info
Issue a log message and throwable with a level of INFO.- Specified by:
infoin interfaceBasicLogger- Parameters:
message- the messaget- the throwable
-
info
Issue a log message and throwable with a level of INFO and a specific logger class name.- Specified by:
infoin interfaceBasicLogger- Parameters:
loggerFqcn- the logger class namemessage- the messaget- the throwable
-
info
Deprecated.To log a message with parameters, usinginfov(String, Object...)is recommended.Issue a log message with parameters with a level of INFO.- Parameters:
message- the messageparams- the message parameters
-
info
Deprecated.To log a message with parameters, usinginfov(Throwable, String, Object...)is recommended.Issue a log message with parameters and a throwable with a level of INFO.- Parameters:
message- the messageparams- the message parameterst- the throwable
-
info
Issue a log message with parameters and a throwable with a level of INFO.- Specified by:
infoin interfaceBasicLogger- Parameters:
loggerFqcn- the logger class namemessage- the messageparams- the message parameterst- the throwable
-
infov
Issue a log message with a level of INFO usingMessageFormat-style formatting.- Specified by:
infovin interfaceBasicLogger- Parameters:
format- the message format stringparams- the parameters
-
infov
Issue a log message with a level of INFO usingMessageFormat-style formatting.- Specified by:
infovin interfaceBasicLogger- Parameters:
format- the message format stringparam1- the sole parameter
-
infov
Issue a log message with a level of INFO usingMessageFormat-style formatting.- Specified by:
infovin interfaceBasicLogger- Parameters:
format- the message format stringparam1- the first parameterparam2- the second parameter
-
infov
Issue a log message with a level of INFO usingMessageFormat-style formatting.- Specified by:
infovin interfaceBasicLogger- Parameters:
format- the message format stringparam1- the first parameterparam2- the second parameterparam3- the third parameter
-
infov
Issue a log message with a level of INFO usingMessageFormat-style formatting.- Specified by:
infovin interfaceBasicLogger- Parameters:
t- the throwableformat- the message format stringparams- the parameters
-
infov
Issue a log message with a level of INFO usingMessageFormat-style formatting.- Specified by:
infovin interfaceBasicLogger- Parameters:
t- the throwableformat- the message format stringparam1- the sole parameter
-
infov
Issue a log message with a level of INFO usingMessageFormat-style formatting.- Specified by:
infovin interfaceBasicLogger- Parameters:
t- the throwableformat- the message format stringparam1- the first parameterparam2- the second parameter
-
infov
Issue a log message with a level of INFO usingMessageFormat-style formatting.- Specified by:
infovin interfaceBasicLogger- Parameters:
t- the throwableformat- the message format stringparam1- the first parameterparam2- the second parameterparam3- the third parameter
-
infof
Issue a formatted log message with a level of INFO.- Specified by:
infofin interfaceBasicLogger- Parameters:
format- the format string as perString.format(String, Object...)or resource bundle key thereforparams- the parameters
-
infof
Issue a formatted log message with a level of INFO.- Specified by:
infofin interfaceBasicLogger- Parameters:
format- the format string as perString.format(String, Object...)or resource bundle key thereforparam1- the sole parameter
-
infof
Issue a formatted log message with a level of INFO.- Specified by:
infofin interfaceBasicLogger- Parameters:
format- the format string as perString.format(String, Object...)or resource bundle key thereforparam1- the first parameterparam2- the second parameter
-
infof
Issue a formatted log message with a level of INFO.- Specified by:
infofin interfaceBasicLogger- Parameters:
format- the format string as perString.format(String, Object...)or resource bundle key thereforparam1- the first parameterparam2- the second parameterparam3- the third parameter
-
infof
Issue a formatted log message with a level of INFO.- Specified by:
infofin interfaceBasicLogger- Parameters:
t- the throwableformat- the format string, as perString.format(String, Object...)params- the parameters
-
infof
Issue a formatted log message with a level of INFO.- Specified by:
infofin interfaceBasicLogger- Parameters:
t- the throwableformat- the format string, as perString.format(String, Object...)param1- the sole parameter
-
infof
Issue a formatted log message with a level of INFO.- Specified by:
infofin interfaceBasicLogger- Parameters:
t- the throwableformat- the format string, as perString.format(String, Object...)param1- the first parameterparam2- the second parameter
-
infof
Issue a formatted log message with a level of INFO.- Specified by:
infofin interfaceBasicLogger- Parameters:
t- the throwableformat- the format string, as perString.format(String, Object...)param1- the first parameterparam2- the second parameterparam3- the third parameter
-
warn
Issue a log message with a level of WARN.- Specified by:
warnin interfaceBasicLogger- Parameters:
message- the message
-
warn
Issue a log message and throwable with a level of WARN.- Specified by:
warnin interfaceBasicLogger- Parameters:
message- the messaget- the throwable
-
warn
Issue a log message and throwable with a level of WARN and a specific logger class name.- Specified by:
warnin interfaceBasicLogger- Parameters:
loggerFqcn- the logger class namemessage- the messaget- the throwable
-
warn
Deprecated.To log a message with parameters, usingwarnv(String, Object...)is recommended.Issue a log message with parameters with a level of WARN.- Parameters:
message- the messageparams- the message parameters
-
warn
Deprecated.To log a message with parameters, usingwarnv(Throwable, String, Object...)is recommended.Issue a log message with parameters and a throwable with a level of WARN.- Parameters:
message- the messageparams- the message parameterst- the throwable
-
warn
Issue a log message with parameters and a throwable with a level of WARN.- Specified by:
warnin interfaceBasicLogger- Parameters:
loggerFqcn- the logger class namemessage- the messageparams- the message parameterst- the throwable
-
warnv
Issue a log message with a level of WARN usingMessageFormat-style formatting.- Specified by:
warnvin interfaceBasicLogger- Parameters:
format- the message format stringparams- the parameters
-
warnv
Issue a log message with a level of WARN usingMessageFormat-style formatting.- Specified by:
warnvin interfaceBasicLogger- Parameters:
format- the message format stringparam1- the sole parameter
-
warnv
Issue a log message with a level of WARN usingMessageFormat-style formatting.- Specified by:
warnvin interfaceBasicLogger- Parameters:
format- the message format stringparam1- the first parameterparam2- the second parameter
-
warnv
Issue a log message with a level of WARN usingMessageFormat-style formatting.- Specified by:
warnvin interfaceBasicLogger- Parameters:
format- the message format stringparam1- the first parameterparam2- the second parameterparam3- the third parameter
-
warnv
Issue a log message with a level of WARN usingMessageFormat-style formatting.- Specified by:
warnvin interfaceBasicLogger- Parameters:
t- the throwableformat- the message format stringparams- the parameters
-
warnv
Issue a log message with a level of WARN usingMessageFormat-style formatting.- Specified by:
warnvin interfaceBasicLogger- Parameters:
t- the throwableformat- the message format stringparam1- the sole parameter
-
warnv
Issue a log message with a level of WARN usingMessageFormat-style formatting.- Specified by:
warnvin interfaceBasicLogger- Parameters:
t- the throwableformat- the message format stringparam1- the first parameterparam2- the second parameter
-
warnv
Issue a log message with a level of WARN usingMessageFormat-style formatting.- Specified by:
warnvin interfaceBasicLogger- Parameters:
t- the throwableformat- the message format stringparam1- the first parameterparam2- the second parameterparam3- the third parameter
-
warnf
Issue a formatted log message with a level of WARN.- Specified by:
warnfin interfaceBasicLogger- Parameters:
format- the format string as perString.format(String, Object...)or resource bundle key thereforparams- the parameters
-
warnf
Issue a formatted log message with a level of WARN.- Specified by:
warnfin interfaceBasicLogger- Parameters:
format- the format string as perString.format(String, Object...)or resource bundle key thereforparam1- the sole parameter
-
warnf
Issue a formatted log message with a level of WARN.- Specified by:
warnfin interfaceBasicLogger- Parameters:
format- the format string as perString.format(String, Object...)or resource bundle key thereforparam1- the first parameterparam2- the second parameter
-
warnf
Issue a formatted log message with a level of WARN.- Specified by:
warnfin interfaceBasicLogger- Parameters:
format- the format string as perString.format(String, Object...)or resource bundle key thereforparam1- the first parameterparam2- the second parameterparam3- the third parameter
-
warnf
Issue a formatted log message with a level of WARN.- Specified by:
warnfin interfaceBasicLogger- Parameters:
t- the throwableformat- the format string, as perString.format(String, Object...)params- the parameters
-
warnf
Issue a formatted log message with a level of WARN.- Specified by:
warnfin interfaceBasicLogger- Parameters:
t- the throwableformat- the format string, as perString.format(String, Object...)param1- the sole parameter
-
warnf
Issue a formatted log message with a level of WARN.- Specified by:
warnfin interfaceBasicLogger- Parameters:
t- the throwableformat- the format string, as perString.format(String, Object...)param1- the first parameterparam2- the second parameter
-
warnf
Issue a formatted log message with a level of WARN.- Specified by:
warnfin interfaceBasicLogger- Parameters:
t- the throwableformat- the format string, as perString.format(String, Object...)param1- the first parameterparam2- the second parameterparam3- the third parameter
-
error
Issue a log message with a level of ERROR.- Specified by:
errorin interfaceBasicLogger- Parameters:
message- the message
-
error
Issue a log message and throwable with a level of ERROR.- Specified by:
errorin interfaceBasicLogger- Parameters:
message- the messaget- the throwable
-
error
Issue a log message and throwable with a level of ERROR and a specific logger class name.- Specified by:
errorin interfaceBasicLogger- Parameters:
loggerFqcn- the logger class namemessage- the messaget- the throwable
-
error
Deprecated.To log a message with parameters, usingerrorv(String, Object...)is recommended.Issue a log message with parameters with a level of ERROR.- Parameters:
message- the messageparams- the message parameters
-
error
Deprecated.To log a message with parameters, usingerrorv(Throwable, String, Object...)is recommended.Issue a log message with parameters and a throwable with a level of ERROR.- Parameters:
message- the messageparams- the message parameterst- the throwable
-
error
Issue a log message with parameters and a throwable with a level of ERROR.- Specified by:
errorin interfaceBasicLogger- Parameters:
loggerFqcn- the logger class namemessage- the messageparams- the message parameterst- the throwable
-
errorv
Issue a log message with a level of ERROR usingMessageFormat-style formatting.- Specified by:
errorvin interfaceBasicLogger- Parameters:
format- the message format stringparams- the parameters
-
errorv
Issue a log message with a level of ERROR usingMessageFormat-style formatting.- Specified by:
errorvin interfaceBasicLogger- Parameters:
format- the message format stringparam1- the sole parameter
-
errorv
Issue a log message with a level of ERROR usingMessageFormat-style formatting.- Specified by:
errorvin interfaceBasicLogger- Parameters:
format- the message format stringparam1- the first parameterparam2- the second parameter
-
errorv
Issue a log message with a level of ERROR usingMessageFormat-style formatting.- Specified by:
errorvin interfaceBasicLogger- Parameters:
format- the message format stringparam1- the first parameterparam2- the second parameterparam3- the third parameter
-
errorv
Issue a log message with a level of ERROR usingMessageFormat-style formatting.- Specified by:
errorvin interfaceBasicLogger- Parameters:
t- the throwableformat- the message format stringparams- the parameters
-
errorv
Issue a log message with a level of ERROR usingMessageFormat-style formatting.- Specified by:
errorvin interfaceBasicLogger- Parameters:
t- the throwableformat- the message format stringparam1- the sole parameter
-
errorv
Issue a log message with a level of ERROR usingMessageFormat-style formatting.- Specified by:
errorvin interfaceBasicLogger- Parameters:
t- the throwableformat- the message format stringparam1- the first parameterparam2- the second parameter
-
errorv
Issue a log message with a level of ERROR usingMessageFormat-style formatting.- Specified by:
errorvin interfaceBasicLogger- Parameters:
t- the throwableformat- the message format stringparam1- the first parameterparam2- the second parameterparam3- the third parameter
-
errorf
Issue a formatted log message with a level of ERROR.- Specified by:
errorfin interfaceBasicLogger- Parameters:
format- the format string as perString.format(String, Object...)or resource bundle key thereforparams- the parameters
-
errorf
Issue a formatted log message with a level of ERROR.- Specified by:
errorfin interfaceBasicLogger- Parameters:
format- the format string as perString.format(String, Object...)or resource bundle key thereforparam1- the sole parameter
-
errorf
Issue a formatted log message with a level of ERROR.- Specified by:
errorfin interfaceBasicLogger- Parameters:
format- the format string as perString.format(String, Object...)or resource bundle key thereforparam1- the first parameterparam2- the second parameter
-
errorf
Issue a formatted log message with a level of ERROR.- Specified by:
errorfin interfaceBasicLogger- Parameters:
format- the format string as perString.format(String, Object...)or resource bundle key thereforparam1- the first parameterparam2- the second parameterparam3- the third parameter
-
errorf
Issue a formatted log message with a level of ERROR.- Specified by:
errorfin interfaceBasicLogger- Parameters:
t- the throwableformat- the format string, as perString.format(String, Object...)params- the parameters
-
errorf
Issue a formatted log message with a level of ERROR.- Specified by:
errorfin interfaceBasicLogger- Parameters:
t- the throwableformat- the format string, as perString.format(String, Object...)param1- the sole parameter
-
errorf
Issue a formatted log message with a level of ERROR.- Specified by:
errorfin interfaceBasicLogger- Parameters:
t- the throwableformat- the format string, as perString.format(String, Object...)param1- the first parameterparam2- the second parameter
-
errorf
Issue a formatted log message with a level of ERROR.- Specified by:
errorfin interfaceBasicLogger- Parameters:
t- the throwableformat- the format string, as perString.format(String, Object...)param1- the first parameterparam2- the second parameterparam3- the third parameter
-
fatal
Issue a log message with a level of FATAL.- Specified by:
fatalin interfaceBasicLogger- Parameters:
message- the message
-
fatal
Issue a log message and throwable with a level of FATAL.- Specified by:
fatalin interfaceBasicLogger- Parameters:
message- the messaget- the throwable
-
fatal
Issue a log message and throwable with a level of FATAL and a specific logger class name.- Specified by:
fatalin interfaceBasicLogger- Parameters:
loggerFqcn- the logger class namemessage- the messaget- the throwable
-
fatal
Deprecated.To log a message with parameters, usingfatalv(String, Object...)is recommended.Issue a log message with parameters with a level of FATAL.- Parameters:
message- the messageparams- the message parameters
-
fatal
Deprecated.To log a message with parameters, usingfatalv(Throwable, String, Object...)is recommended.Issue a log message with parameters and a throwable with a level of FATAL.- Parameters:
message- the messageparams- the message parameterst- the throwable
-
fatal
Issue a log message with parameters and a throwable with a level of FATAL.- Specified by:
fatalin interfaceBasicLogger- Parameters:
loggerFqcn- the logger class namemessage- the messageparams- the message parameterst- the throwable
-
fatalv
Issue a log message with a level of FATAL usingMessageFormat-style formatting.- Specified by:
fatalvin interfaceBasicLogger- Parameters:
format- the message format stringparams- the parameters
-
fatalv
Issue a log message with a level of FATAL usingMessageFormat-style formatting.- Specified by:
fatalvin interfaceBasicLogger- Parameters:
format- the message format stringparam1- the sole parameter
-
fatalv
Issue a log message with a level of FATAL usingMessageFormat-style formatting.- Specified by:
fatalvin interfaceBasicLogger- Parameters:
format- the message format stringparam1- the first parameterparam2- the second parameter
-
fatalv
Issue a log message with a level of FATAL usingMessageFormat-style formatting.- Specified by:
fatalvin interfaceBasicLogger- Parameters:
format- the message format stringparam1- the first parameterparam2- the second parameterparam3- the third parameter
-
fatalv
Issue a log message with a level of FATAL usingMessageFormat-style formatting.- Specified by:
fatalvin interfaceBasicLogger- Parameters:
t- the throwableformat- the message format stringparams- the parameters
-
fatalv
Issue a log message with a level of FATAL usingMessageFormat-style formatting.- Specified by:
fatalvin interfaceBasicLogger- Parameters:
t- the throwableformat- the message format stringparam1- the sole parameter
-
fatalv
Issue a log message with a level of FATAL usingMessageFormat-style formatting.- Specified by:
fatalvin interfaceBasicLogger- Parameters:
t- the throwableformat- the message format stringparam1- the first parameterparam2- the second parameter
-
fatalv
Issue a log message with a level of FATAL usingMessageFormat-style formatting.- Specified by:
fatalvin interfaceBasicLogger- Parameters:
t- the throwableformat- the message format stringparam1- the first parameterparam2- the second parameterparam3- the third parameter
-
fatalf
Issue a formatted log message with a level of FATAL.- Specified by:
fatalfin interfaceBasicLogger- Parameters:
format- the format string as perString.format(String, Object...)or resource bundle key thereforparams- the parameters
-
fatalf
Issue a formatted log message with a level of FATAL.- Specified by:
fatalfin interfaceBasicLogger- Parameters:
format- the format string as perString.format(String, Object...)or resource bundle key thereforparam1- the sole parameter
-
fatalf
Issue a formatted log message with a level of FATAL.- Specified by:
fatalfin interfaceBasicLogger- Parameters:
format- the format string as perString.format(String, Object...)or resource bundle key thereforparam1- the first parameterparam2- the second parameter
-
fatalf
Issue a formatted log message with a level of FATAL.- Specified by:
fatalfin interfaceBasicLogger- Parameters:
format- the format string as perString.format(String, Object...)or resource bundle key thereforparam1- the first parameterparam2- the second parameterparam3- the third parameter
-
fatalf
Issue a formatted log message with a level of FATAL.- Specified by:
fatalfin interfaceBasicLogger- Parameters:
t- the throwableformat- the format string, as perString.format(String, Object...)params- the parameters
-
fatalf
Issue a formatted log message with a level of FATAL.- Specified by:
fatalfin interfaceBasicLogger- Parameters:
t- the throwableformat- the format string, as perString.format(String, Object...)param1- the sole parameter
-
fatalf
Issue a formatted log message with a level of FATAL.- Specified by:
fatalfin interfaceBasicLogger- Parameters:
t- the throwableformat- the format string, as perString.format(String, Object...)param1- the first parameterparam2- the second parameter
-
fatalf
Issue a formatted log message with a level of FATAL.- Specified by:
fatalfin interfaceBasicLogger- Parameters:
t- the throwableformat- the format string, as perString.format(String, Object...)param1- the first parameterparam2- the second parameterparam3- the third parameter
-
log
Log a message at the given level.- Specified by:
login interfaceBasicLogger- Parameters:
level- the levelmessage- the message
-
log
Issue a log message and throwable at the given log level.- Specified by:
login interfaceBasicLogger- Parameters:
level- the levelmessage- the messaget- the throwable
-
log
Issue a log message and throwable at the given log level and a specific logger class name.- Specified by:
login interfaceBasicLogger- Parameters:
level- the levelloggerFqcn- the logger class namemessage- the messaget- the throwable
-
log
Deprecated.To log a message with parameters, usinglogv(Level, String, Object...)is recommended.Issue a log message with parameters at the given log level.- Parameters:
level- the levelmessage- the messageparams- the message parameters
-
log
Deprecated.To log a message with parameters, usinglogv(Level, Throwable, String, Object...)is recommended.Issue a log message with parameters and a throwable at the given log level.- Parameters:
level- the levelmessage- the messageparams- the message parameterst- the throwable
-
log
public void log(String loggerFqcn, Logger.Level level, Object message, Object[] params, Throwable t) Issue a log message with parameters and a throwable at the given log level.- Specified by:
login interfaceBasicLogger- Parameters:
loggerFqcn- the logger class namelevel- the levelmessage- the messageparams- the message parameterst- the throwable
-
logv
Issue a log message at the given log level usingMessageFormat-style formatting.- Specified by:
logvin interfaceBasicLogger- Parameters:
level- the levelformat- the message format stringparams- the parameters
-
logv
Issue a log message at the given log level usingMessageFormat-style formatting.- Specified by:
logvin interfaceBasicLogger- Parameters:
level- the levelformat- the message format stringparam1- the sole parameter
-
logv
Issue a log message at the given log level usingMessageFormat-style formatting.- Specified by:
logvin interfaceBasicLogger- Parameters:
level- the levelformat- the message format stringparam1- the first parameterparam2- the second parameter
-
logv
Issue a log message at the given log level usingMessageFormat-style formatting.- Specified by:
logvin interfaceBasicLogger- Parameters:
level- the levelformat- the message format stringparam1- the first parameterparam2- the second parameterparam3- the third parameter
-
logv
Issue a log message at the given log level usingMessageFormat-style formatting.- Specified by:
logvin interfaceBasicLogger- Parameters:
level- the levelt- the throwableformat- the message format stringparams- the parameters
-
logv
Issue a log message at the given log level usingMessageFormat-style formatting.- Specified by:
logvin interfaceBasicLogger- Parameters:
level- the levelt- the throwableformat- the message format stringparam1- the sole parameter
-
logv
Issue a log message at the given log level usingMessageFormat-style formatting.- Specified by:
logvin interfaceBasicLogger- Parameters:
level- the levelt- the throwableformat- the message format stringparam1- the first parameterparam2- the second parameter
-
logv
public void logv(Logger.Level level, Throwable t, String format, Object param1, Object param2, Object param3) Issue a log message at the given log level usingMessageFormat-style formatting.- Specified by:
logvin interfaceBasicLogger- Parameters:
level- the levelt- the throwableformat- the message format stringparam1- the first parameterparam2- the second parameterparam3- the third parameter
-
logv
public void logv(String loggerFqcn, Logger.Level level, Throwable t, String format, Object... params) Issue a log message at the given log level usingMessageFormat-style formatting.- Specified by:
logvin interfaceBasicLogger- Parameters:
loggerFqcn- the logger class namelevel- the levelt- the throwableformat- the message format stringparams- the parameters
-
logv
Issue a log message at the given log level usingMessageFormat-style formatting.- Specified by:
logvin interfaceBasicLogger- Parameters:
loggerFqcn- the logger class namelevel- the levelt- the throwableformat- the message format stringparam1- the sole parameter
-
logv
public void logv(String loggerFqcn, Logger.Level level, Throwable t, String format, Object param1, Object param2) Issue a log message at the given log level usingMessageFormat-style formatting.- Specified by:
logvin interfaceBasicLogger- Parameters:
loggerFqcn- the logger class namelevel- the levelt- the throwableformat- the message format stringparam1- the first parameterparam2- the second parameter
-
logv
public void logv(String loggerFqcn, Logger.Level level, Throwable t, String format, Object param1, Object param2, Object param3) Issue a log message at the given log level usingMessageFormat-style formatting.- Specified by:
logvin interfaceBasicLogger- Parameters:
loggerFqcn- the logger class namelevel- the levelt- the throwableformat- the message format stringparam1- the first parameterparam2- the second parameterparam3- the third parameter
-
logf
Issue a formatted log message at the given log level.- Specified by:
logfin interfaceBasicLogger- Parameters:
level- the levelformat- the format string as perString.format(String, Object...)or resource bundle key thereforparams- the parameters
-
logf
Issue a formatted log message at the given log level.- Specified by:
logfin interfaceBasicLogger- Parameters:
level- the levelformat- the format string as perString.format(String, Object...)or resource bundle key thereforparam1- the sole parameter
-
logf
Issue a formatted log message at the given log level.- Specified by:
logfin interfaceBasicLogger- Parameters:
level- the levelformat- the format string as perString.format(String, Object...)or resource bundle key thereforparam1- the first parameterparam2- the second parameter
-
logf
Issue a formatted log message at the given log level.- Specified by:
logfin interfaceBasicLogger- Parameters:
level- the levelformat- the format string as perString.format(String, Object...)or resource bundle key thereforparam1- the first parameterparam2- the second parameterparam3- the third parameter
-
logf
Issue a formatted log message at the given log level.- Specified by:
logfin interfaceBasicLogger- Parameters:
level- the levelt- the throwableformat- the format string, as perString.format(String, Object...)params- the parameters
-
logf
Issue a formatted log message at the given log level.- Specified by:
logfin interfaceBasicLogger- Parameters:
level- the levelt- the throwableformat- the format string, as perString.format(String, Object...)param1- the sole parameter
-
logf
Issue a formatted log message at the given log level.- Specified by:
logfin interfaceBasicLogger- Parameters:
level- the levelt- the throwableformat- the format string, as perString.format(String, Object...)param1- the first parameterparam2- the second parameter
-
logf
public void logf(Logger.Level level, Throwable t, String format, Object param1, Object param2, Object param3) Issue a formatted log message at the given log level.- Specified by:
logfin interfaceBasicLogger- Parameters:
level- the levelt- the throwableformat- the format string, as perString.format(String, Object...)param1- the first parameterparam2- the second parameterparam3- the third parameter
-
logf
Log a message at the given level.- Specified by:
logfin interfaceBasicLogger- Parameters:
loggerFqcn- the logger class namelevel- the levelt- the throwable causeformat- the format string as perString.format(String, Object...)or resource bundle key thereforparam1- the sole parameter
-
logf
public void logf(String loggerFqcn, Logger.Level level, Throwable t, String format, Object param1, Object param2) Log a message at the given level.- Specified by:
logfin interfaceBasicLogger- Parameters:
loggerFqcn- the logger class namelevel- the levelt- the throwable causeformat- the format string as perString.format(String, Object...)or resource bundle key thereforparam1- the first parameterparam2- the second parameter
-
logf
public void logf(String loggerFqcn, Logger.Level level, Throwable t, String format, Object param1, Object param2, Object param3) Log a message at the given level.- Specified by:
logfin interfaceBasicLogger- Parameters:
loggerFqcn- the logger class namelevel- the levelt- the throwable causeformat- the format string as perString.format(String, Object...)or resource bundle key thereforparam1- the first parameterparam2- the second parameterparam3- the third parameter
-
logf
public void logf(String loggerFqcn, Logger.Level level, Throwable t, String format, Object... params) Log a message at the given level.- Specified by:
logfin interfaceBasicLogger- Parameters:
loggerFqcn- the logger class namelevel- the levelt- the throwable causeformat- the format string as perString.format(String, Object...)or resource bundle key thereforparams- the message parameters
-
writeReplace
Read resolver; replaces deserialized instance with a canonical instance.- Returns:
- the canonical logger instance
-
getLogger
Get a Logger instance given the logger name.- Parameters:
name- the logger name- Returns:
- the logger
-
getLogger
Get a Logger instance given the logger name with the given suffix.This will include a logger separator between logger name and suffix.
- Parameters:
name- the logger namesuffix- a suffix to append to the logger name- Returns:
- the logger
-
getLogger
Get a Logger instance given the name of a class. This simply calls create(clazz.getName()).- Parameters:
clazz- the Class whose name will be used as the logger name- Returns:
- the logger
-
getLogger
Get a Logger instance given the name of a class with the given suffix.This will include a logger separator between logger name and suffix
- Parameters:
clazz- the Class whose name will be used as the logger namesuffix- a suffix to append to the logger name- Returns:
- the logger
-
getMessageLogger
Get a typed logger which implements the given interface. The current default locale will be used for the new logger.- Type Parameters:
T- the logger type- Parameters:
lookup- a lookup which has access to the implementation class (usuallylookup())type- the interface to implementcategory- the logger category- Returns:
- the typed logger
-
getMessageLogger
public static <T> T getMessageLogger(MethodHandles.Lookup lookup, Class<T> type, String category, Locale locale) Get a typed logger which implements the given interface. The given locale will be used for the new logger.- Type Parameters:
T- the logger type- Parameters:
lookup- a lookup which has access to the implementation class (usuallylookup())type- the interface to implementcategory- the logger categorylocale- the locale for the new logger- Returns:
- the typed logger
-
getMessageLogger
@Deprecated(forRemoval=true, since="3.6") public static <T> T getMessageLogger(Class<T> type, String category) Deprecated, for removal: This API element is subject to removal in a future version.UsegetMessageLogger(Lookup,Class,String)instead to avoid errors in modular environments.Get a typed logger which implements the given interface. The current default locale will be used for the new logger.- Type Parameters:
T- the logger type- Parameters:
type- the interface to implementcategory- the logger category- Returns:
- the typed logger
-
getMessageLogger
@Deprecated(forRemoval=true, since="3.6") public static <T> T getMessageLogger(Class<T> type, String category, Locale locale) Deprecated, for removal: This API element is subject to removal in a future version.UsegetMessageLogger(Lookup,Class,String,Locale)instead to avoid errors in modular environments.Get a typed logger which implements the given interface. The given locale will be used for the new logger.- Type Parameters:
T- the logger type- Parameters:
type- the interface to implementcategory- the logger categorylocale- the locale for the new logger- Returns:
- the typed logger
-
debugv(String, Object...)is recommended.