Package org.jboss.logging
Class Logger
- java.lang.Object
-
- org.jboss.logging.Logger
-
- All Implemented Interfaces:
Serializable,BasicLogger
public abstract class Logger extends Object implements Serializable, BasicLogger
An abstracted logging entry point.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLogger.LevelLevels used by this logging API.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voiddebug(Object message)Issue a log message with a level of DEBUG.voiddebug(Object message, Object[] params)Deprecated.To log a message with parameters, usingdebugv(String, Object...)is recommended.voiddebug(Object message, Object[] params, Throwable t)Deprecated.To log a message with parameters, usingdebugv(Throwable, String, Object...)is recommended.voiddebug(Object message, Throwable t)Issue a log message and throwable with a level of DEBUG.voiddebug(String loggerFqcn, Object message, Object[] params, Throwable t)Issue a log message with parameters and a throwable with a level of DEBUG.voiddebug(String loggerFqcn, Object message, Throwable t)Issue a log message and throwable with a level of DEBUG and a specific logger class name.voiddebugf(String format, int arg)Issue a formatted log message with a level of DEBUG.voiddebugf(String format, int arg1, int arg2)Issue a formatted log message with a level of DEBUG.voiddebugf(String format, int arg1, int arg2, int arg3)Issue a formatted log message with a level of DEBUG.voiddebugf(String format, int arg1, int arg2, Object arg3)Issue a formatted log message with a level of DEBUG.voiddebugf(String format, int arg1, Object arg2)Issue a formatted log message with a level of DEBUG.voiddebugf(String format, int arg1, Object arg2, Object arg3)Issue a formatted log message with a level of DEBUG.voiddebugf(String format, long arg)Issue a formatted log message with a level of DEBUG.voiddebugf(String format, long arg1, long arg2)Issue a formatted log message with a level of DEBUG.voiddebugf(String format, long arg1, long arg2, long arg3)Issue a formatted log message with a level of DEBUG.voiddebugf(String format, long arg1, long arg2, Object arg3)Issue a formatted log message with a level of DEBUG.voiddebugf(String format, long arg1, Object arg2)Issue a formatted log message with a level of DEBUG.voiddebugf(String format, long arg1, Object arg2, Object arg3)Issue a formatted log message with a level of DEBUG.voiddebugf(String format, Object param1)Issue a formatted log message with a level of DEBUG.voiddebugf(String format, Object... params)Issue a formatted log message with a level of DEBUG.voiddebugf(String format, Object param1, Object param2)Issue a formatted log message with a level of DEBUG.voiddebugf(String format, Object param1, Object param2, Object param3)Issue a formatted log message with a level of DEBUG.voiddebugf(Throwable t, String format, int arg)Issue a formatted log message with a level of DEBUG.voiddebugf(Throwable t, String format, int arg1, int arg2)Issue a formatted log message with a level of DEBUG.voiddebugf(Throwable t, String format, int arg1, int arg2, int arg3)Issue a formatted log message with a level of DEBUG.voiddebugf(Throwable t, String format, int arg1, int arg2, Object arg3)Issue a formatted log message with a level of DEBUG.voiddebugf(Throwable t, String format, int arg1, Object arg2)Issue a formatted log message with a level of DEBUG.voiddebugf(Throwable t, String format, int arg1, Object arg2, Object arg3)Issue a formatted log message with a level of DEBUG.voiddebugf(Throwable t, String format, long arg)Issue a formatted log message with a level of DEBUG.voiddebugf(Throwable t, String format, long arg1, long arg2)Issue a formatted log message with a level of DEBUG.voiddebugf(Throwable t, String format, long arg1, long arg2, long arg3)Issue a formatted log message with a level of DEBUG.voiddebugf(Throwable t, String format, long arg1, long arg2, Object arg3)Issue a formatted log message with a level of DEBUG.voiddebugf(Throwable t, String format, long arg1, Object arg2)Issue a formatted log message with a level of DEBUG.voiddebugf(Throwable t, String format, long arg1, Object arg2, Object arg3)Issue a formatted log message with a level of DEBUG.voiddebugf(Throwable t, String format, Object param1)Issue a formatted log message with a level of DEBUG.voiddebugf(Throwable t, String format, Object... params)Issue a formatted log message with a level of DEBUG.voiddebugf(Throwable t, String format, Object param1, Object param2)Issue a formatted log message with a level of DEBUG.voiddebugf(Throwable t, String format, Object param1, Object param2, Object param3)Issue a formatted log message with a level of DEBUG.voiddebugv(String format, Object param1)Issue a log message with a level of DEBUG usingMessageFormat-style formatting.voiddebugv(String format, Object... params)Issue a log message with a level of DEBUG usingMessageFormat-style formatting.voiddebugv(String format, Object param1, Object param2)Issue a log message with a level of DEBUG usingMessageFormat-style formatting.voiddebugv(String format, Object param1, Object param2, Object param3)Issue a log message with a level of DEBUG usingMessageFormat-style formatting.voiddebugv(Throwable t, String format, Object param1)Issue a log message with a level of DEBUG usingMessageFormat-style formatting.voiddebugv(Throwable t, String format, Object... params)Issue a log message with a level of DEBUG usingMessageFormat-style formatting.voiddebugv(Throwable t, String format, Object param1, Object param2)Issue a log message with a level of DEBUG usingMessageFormat-style formatting.voiddebugv(Throwable t, String format, Object param1, Object param2, Object param3)Issue 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).voiderror(Object message)Issue a log message with a level of ERROR.voiderror(Object message, Object[] params)Deprecated.To log a message with parameters, usingerrorv(String, Object...)is recommended.voiderror(Object message, Object[] params, Throwable t)Deprecated.To log a message with parameters, usingerrorv(Throwable, String, Object...)is recommended.voiderror(Object message, Throwable t)Issue a log message and throwable with a level of ERROR.voiderror(String loggerFqcn, Object message, Object[] params, Throwable t)Issue a log message with parameters and a throwable with a level of ERROR.voiderror(String loggerFqcn, Object message, Throwable t)Issue a log message and throwable with a level of ERROR and a specific logger class name.voiderrorf(String format, Object param1)Issue a formatted log message with a level of ERROR.voiderrorf(String format, Object... params)Issue a formatted log message with a level of ERROR.voiderrorf(String format, Object param1, Object param2)Issue a formatted log message with a level of ERROR.voiderrorf(String format, Object param1, Object param2, Object param3)Issue a formatted log message with a level of ERROR.voiderrorf(Throwable t, String format, Object param1)Issue a formatted log message with a level of ERROR.voiderrorf(Throwable t, String format, Object... params)Issue a formatted log message with a level of ERROR.voiderrorf(Throwable t, String format, Object param1, Object param2)Issue a formatted log message with a level of ERROR.voiderrorf(Throwable t, String format, Object param1, Object param2, Object param3)Issue a formatted log message with a level of ERROR.voiderrorv(String format, Object param1)Issue a log message with a level of ERROR usingMessageFormat-style formatting.voiderrorv(String format, Object... params)Issue a log message with a level of ERROR usingMessageFormat-style formatting.voiderrorv(String format, Object param1, Object param2)Issue a log message with a level of ERROR usingMessageFormat-style formatting.voiderrorv(String format, Object param1, Object param2, Object param3)Issue a log message with a level of ERROR usingMessageFormat-style formatting.voiderrorv(Throwable t, String format, Object param1)Issue a log message with a level of ERROR usingMessageFormat-style formatting.voiderrorv(Throwable t, String format, Object... params)Issue a log message with a level of ERROR usingMessageFormat-style formatting.voiderrorv(Throwable t, String format, Object param1, Object param2)Issue a log message with a level of ERROR usingMessageFormat-style formatting.voiderrorv(Throwable t, String format, Object param1, Object param2, Object param3)Issue a log message with a level of ERROR usingMessageFormat-style formatting.voidfatal(Object message)Issue a log message with a level of FATAL.voidfatal(Object message, Object[] params)Deprecated.To log a message with parameters, usingfatalv(String, Object...)is recommended.voidfatal(Object message, Object[] params, Throwable t)Deprecated.To log a message with parameters, usingfatalv(Throwable, String, Object...)is recommended.voidfatal(Object message, Throwable t)Issue a log message and throwable with a level of FATAL.voidfatal(String loggerFqcn, Object message, Object[] params, Throwable t)Issue a log message with parameters and a throwable with a level of FATAL.voidfatal(String loggerFqcn, Object message, Throwable t)Issue a log message and throwable with a level of FATAL and a specific logger class name.voidfatalf(String format, Object param1)Issue a formatted log message with a level of FATAL.voidfatalf(String format, Object... params)Issue a formatted log message with a level of FATAL.voidfatalf(String format, Object param1, Object param2)Issue a formatted log message with a level of FATAL.voidfatalf(String format, Object param1, Object param2, Object param3)Issue a formatted log message with a level of FATAL.voidfatalf(Throwable t, String format, Object param1)Issue a formatted log message with a level of FATAL.voidfatalf(Throwable t, String format, Object... params)Issue a formatted log message with a level of FATAL.voidfatalf(Throwable t, String format, Object param1, Object param2)Issue a formatted log message with a level of FATAL.voidfatalf(Throwable t, String format, Object param1, Object param2, Object param3)Issue a formatted log message with a level of FATAL.voidfatalv(String format, Object param1)Issue a log message with a level of FATAL usingMessageFormat-style formatting.voidfatalv(String format, Object... params)Issue a log message with a level of FATAL usingMessageFormat-style formatting.voidfatalv(String format, Object param1, Object param2)Issue a log message with a level of FATAL usingMessageFormat-style formatting.voidfatalv(String format, Object param1, Object param2, Object param3)Issue a log message with a level of FATAL usingMessageFormat-style formatting.voidfatalv(Throwable t, String format, Object param1)Issue a log message with a level of FATAL usingMessageFormat-style formatting.voidfatalv(Throwable t, String format, Object... params)Issue a log message with a level of FATAL usingMessageFormat-style formatting.voidfatalv(Throwable t, String format, Object param1, Object param2)Issue a log message with a level of FATAL usingMessageFormat-style formatting.voidfatalv(Throwable t, String format, Object param1, Object param2, Object param3)Issue a log message with a level of FATAL usingMessageFormat-style formatting.static LoggergetLogger(Class<?> clazz)Get a Logger instance given the name of a class.static LoggergetLogger(Class<?> clazz, String suffix)Get a Logger instance given the name of a class with the given suffix.static LoggergetLogger(String name)Get a Logger instance given the logger name.static LoggergetLogger(String name, String suffix)Get 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.StringgetName()Return the name of this logger.voidinfo(Object message)Issue a log message with a level of INFO.voidinfo(Object message, Object[] params)Deprecated.To log a message with parameters, usinginfov(String, Object...)is recommended.voidinfo(Object message, Object[] params, Throwable t)Deprecated.To log a message with parameters, usinginfov(Throwable, String, Object...)is recommended.voidinfo(Object message, Throwable t)Issue a log message and throwable with a level of INFO.voidinfo(String loggerFqcn, Object message, Object[] params, Throwable t)Issue a log message with parameters and a throwable with a level of INFO.voidinfo(String loggerFqcn, Object message, Throwable t)Issue a log message and throwable with a level of INFO and a specific logger class name.voidinfof(String format, Object param1)Issue a formatted log message with a level of INFO.voidinfof(String format, Object... params)Issue a formatted log message with a level of INFO.voidinfof(String format, Object param1, Object param2)Issue a formatted log message with a level of INFO.voidinfof(String format, Object param1, Object param2, Object param3)Issue a formatted log message with a level of INFO.voidinfof(Throwable t, String format, Object param1)Issue a formatted log message with a level of INFO.voidinfof(Throwable t, String format, Object... params)Issue a formatted log message with a level of INFO.voidinfof(Throwable t, String format, Object param1, Object param2)Issue a formatted log message with a level of INFO.voidinfof(Throwable t, String format, Object param1, Object param2, Object param3)Issue a formatted log message with a level of INFO.voidinfov(String format, Object param1)Issue a log message with a level of INFO usingMessageFormat-style formatting.voidinfov(String format, Object... params)Issue a log message with a level of INFO usingMessageFormat-style formatting.voidinfov(String format, Object param1, Object param2)Issue a log message with a level of INFO usingMessageFormat-style formatting.voidinfov(String format, Object param1, Object param2, Object param3)Issue a log message with a level of INFO usingMessageFormat-style formatting.voidinfov(Throwable t, String format, Object param1)Issue a log message with a level of INFO usingMessageFormat-style formatting.voidinfov(Throwable t, String format, Object... params)Issue a log message with a level of INFO usingMessageFormat-style formatting.voidinfov(Throwable t, String format, Object param1, Object param2)Issue a log message with a level of INFO usingMessageFormat-style formatting.voidinfov(Throwable t, String format, Object param1, Object param2, Object param3)Issue a log message with a level of INFO usingMessageFormat-style formatting.booleanisDebugEnabled()Check to see if theDEBUGlevel is enabled for this logger.booleanisInfoEnabled()Check to see if theINFOlevel is enabled for this logger.booleanisTraceEnabled()Check to see if theTRACElevel is enabled for this logger.voidlog(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.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.voidlogf(String loggerFqcn, Logger.Level level, Throwable t, String format, Object param1)Log a message at the given level.voidlogf(String loggerFqcn, Logger.Level level, Throwable t, String format, Object... params)Log 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.voidlogf(Logger.Level level, String format, Object param1, Object param2, Object param3)Issue 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.voidlogf(Logger.Level level, Throwable t, String format, Object param1, Object param2)Issue a formatted log message at the given log level.voidlogf(Logger.Level level, Throwable t, String format, Object param1, Object param2, Object param3)Issue a formatted log message at the given log level.voidlogv(String loggerFqcn, Logger.Level level, Throwable t, String format, Object param1)Issue a log message at the given log level usingMessageFormat-style formatting.voidlogv(String loggerFqcn, Logger.Level level, Throwable t, String format, Object... params)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)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.voidlogv(Logger.Level level, String format, Object param1, Object param2, Object param3)Issue 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.voidlogv(Logger.Level level, Throwable t, String format, Object param1, Object param2)Issue a log message at the given log level usingMessageFormat-style formatting.voidlogv(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.voidtrace(Object message)Issue a log message with a level of TRACE.voidtrace(Object message, Object[] params)Deprecated.To log a message with parameters, usingtracev(String, Object...)is recommended.voidtrace(Object message, Object[] params, Throwable t)Deprecated.To log a message with parameters, usingtracev(Throwable, String, Object...)is recommended.voidtrace(Object message, Throwable t)Issue a log message and throwable with a level of TRACE.voidtrace(String loggerFqcn, Object message, Object[] params, Throwable t)Issue a log message with parameters and a throwable with a level of TRACE.voidtrace(String loggerFqcn, Object message, Throwable t)Issue a log message and throwable with a level of TRACE and a specific logger class name.voidtracef(String format, int arg)Issue a formatted log message with a level of TRACE.voidtracef(String format, int arg1, int arg2)Issue a formatted log message with a level of TRACE.voidtracef(String format, int arg1, int arg2, int arg3)Issue a formatted log message with a level of TRACE.voidtracef(String format, int arg1, int arg2, Object arg3)Issue a formatted log message with a level of TRACE.voidtracef(String format, int arg1, Object arg2)Issue a formatted log message with a level of TRACE.voidtracef(String format, int arg1, Object arg2, Object arg3)Issue a formatted log message with a level of TRACE.voidtracef(String format, long arg)Issue a formatted log message with a level of TRACE.voidtracef(String format, long arg1, long arg2)Issue a formatted log message with a level of TRACE.voidtracef(String format, long arg1, long arg2, long arg3)Issue a formatted log message with a level of TRACE.voidtracef(String format, long arg1, long arg2, Object arg3)Issue a formatted log message with a level of TRACE.voidtracef(String format, long arg1, Object arg2)Issue a formatted log message with a level of TRACE.voidtracef(String format, long arg1, Object arg2, Object arg3)Issue a formatted log message with a level of TRACE.voidtracef(String format, Object param1)Issue a formatted log message with a level of TRACE.voidtracef(String format, Object... params)Issue a formatted log message with a level of TRACE.voidtracef(String format, Object param1, Object param2)Issue a formatted log message with a level of TRACE.voidtracef(String format, Object param1, Object param2, Object param3)Issue a formatted log message with a level of TRACE.voidtracef(Throwable t, String format, int arg)Issue a formatted log message with a level of TRACE.voidtracef(Throwable t, String format, int arg1, int arg2)Issue a formatted log message with a level of TRACE.voidtracef(Throwable t, String format, int arg1, int arg2, int arg3)Issue a formatted log message with a level of TRACE.voidtracef(Throwable t, String format, int arg1, int arg2, Object arg3)Issue a formatted log message with a level of TRACE.voidtracef(Throwable t, String format, int arg1, Object arg2)Issue a formatted log message with a level of TRACE.voidtracef(Throwable t, String format, int arg1, Object arg2, Object arg3)Issue a formatted log message with a level of TRACE.voidtracef(Throwable t, String format, long arg)Issue a formatted log message with a level of TRACE.voidtracef(Throwable t, String format, long arg1, long arg2)Issue a formatted log message with a level of TRACE.voidtracef(Throwable t, String format, long arg1, long arg2, long arg3)Issue a formatted log message with a level of TRACE.voidtracef(Throwable t, String format, long arg1, long arg2, Object arg3)Issue a formatted log message with a level of TRACE.voidtracef(Throwable t, String format, long arg1, Object arg2)Issue a formatted log message with a level of TRACE.voidtracef(Throwable t, String format, long arg1, Object arg2, Object arg3)Issue a formatted log message with a level of TRACE.voidtracef(Throwable t, String format, Object param1)Issue a formatted log message with a level of TRACE.voidtracef(Throwable t, String format, Object... params)Issue a formatted log message with a level of TRACE.voidtracef(Throwable t, String format, Object param1, Object param2)Issue a formatted log message with a level of TRACE.voidtracef(Throwable t, String format, Object param1, Object param2, Object param3)Issue a formatted log message with a level of TRACE.voidtracev(String format, Object param1)Issue a log message with a level of TRACE usingMessageFormat-style formatting.voidtracev(String format, Object... params)Issue a log message with a level of TRACE usingMessageFormat-style formatting.voidtracev(String format, Object param1, Object param2)Issue a log message with a level of TRACE usingMessageFormat-style formatting.voidtracev(String format, Object param1, Object param2, Object param3)Issue a log message with a level of TRACE usingMessageFormat-style formatting.voidtracev(Throwable t, String format, Object param1)Issue a log message with a level of TRACE usingMessageFormat-style formatting.voidtracev(Throwable t, String format, Object... params)Issue a log message with a level of TRACE usingMessageFormat-style formatting.voidtracev(Throwable t, String format, Object param1, Object param2)Issue a log message with a level of TRACE usingMessageFormat-style formatting.voidtracev(Throwable t, String format, Object param1, Object param2, Object param3)Issue a log message with a level of TRACE usingMessageFormat-style formatting.voidwarn(Object message)Issue a log message with a level of WARN.voidwarn(Object message, Object[] params)Deprecated.To log a message with parameters, usingwarnv(String, Object...)is recommended.voidwarn(Object message, Object[] params, Throwable t)Deprecated.To log a message with parameters, usingwarnv(Throwable, String, Object...)is recommended.voidwarn(Object message, Throwable t)Issue a log message and throwable with a level of WARN.voidwarn(String loggerFqcn, Object message, Object[] params, Throwable t)Issue a log message with parameters and a throwable with a level of WARN.voidwarn(String loggerFqcn, Object message, Throwable t)Issue a log message and throwable with a level of WARN and a specific logger class name.voidwarnf(String format, Object param1)Issue a formatted log message with a level of WARN.voidwarnf(String format, Object... params)Issue a formatted log message with a level of WARN.voidwarnf(String format, Object param1, Object param2)Issue a formatted log message with a level of WARN.voidwarnf(String format, Object param1, Object param2, Object param3)Issue a formatted log message with a level of WARN.voidwarnf(Throwable t, String format, Object param1)Issue a formatted log message with a level of WARN.voidwarnf(Throwable t, String format, Object... params)Issue a formatted log message with a level of WARN.voidwarnf(Throwable t, String format, Object param1, Object param2)Issue a formatted log message with a level of WARN.voidwarnf(Throwable t, String format, Object param1, Object param2, Object param3)Issue a formatted log message with a level of WARN.voidwarnv(String format, Object param1)Issue a log message with a level of WARN usingMessageFormat-style formatting.voidwarnv(String format, Object... params)Issue a log message with a level of WARN usingMessageFormat-style formatting.voidwarnv(String format, Object param1, Object param2)Issue a log message with a level of WARN usingMessageFormat-style formatting.voidwarnv(String format, Object param1, Object param2, Object param3)Issue a log message with a level of WARN usingMessageFormat-style formatting.voidwarnv(Throwable t, String format, Object param1)Issue a log message with a level of WARN usingMessageFormat-style formatting.voidwarnv(Throwable t, String format, Object... params)Issue a log message with a level of WARN usingMessageFormat-style formatting.voidwarnv(Throwable t, String format, Object param1, Object param2)Issue a log message with a level of WARN usingMessageFormat-style formatting.voidwarnv(Throwable t, String format, Object param1, Object param2, Object param3)Issue a log message with a level of WARN usingMessageFormat-style formatting.protected ObjectwriteReplace()Read 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, wait
-
Methods inherited from interface org.jboss.logging.BasicLogger
isEnabled
-
-
-
-
Constructor Detail
-
Logger
protected Logger(String name)
Construct a new instance.- Parameters:
name- the logger category name
-
-
Method Detail
-
getName
public String 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
public void trace(Object message)
Issue a log message with a level of TRACE.- Specified by:
tracein interfaceBasicLogger- Parameters:
message- the message
-
trace
public void trace(Object message, Throwable t)
Issue a log message and throwable with a level of TRACE.- Specified by:
tracein interfaceBasicLogger- Parameters:
message- the messaget- the throwable
-
trace
public void trace(String loggerFqcn, Object message, Throwable t)
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 public void trace(Object message, Object[] params)
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 public void trace(Object message, Object[] params, Throwable t)
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
public void trace(String loggerFqcn, Object message, Object[] params, Throwable t)
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
public void tracev(String format, Object... params)
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
public void tracev(String format, Object param1)
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
public void tracev(String format, Object param1, Object param2)
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
public void tracev(String format, Object param1, Object param2, Object param3)
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
public void tracev(Throwable t, String format, Object... params)
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
public void tracev(Throwable t, String format, Object param1)
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
public void tracev(Throwable t, String format, Object param1, Object param2)
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
public void tracev(Throwable t, String format, Object param1, Object param2, Object param3)
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
public void tracef(String format, Object... params)
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
public void tracef(String format, Object param1)
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
public void tracef(String format, Object param1, Object param2)
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
public void tracef(String format, Object param1, Object param2, Object param3)
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
public void tracef(Throwable t, String format, Object... params)
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
public void tracef(Throwable t, String format, Object param1)
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
public void tracef(Throwable t, String format, Object param1, Object param2)
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
public void tracef(Throwable t, String format, Object param1, Object param2, Object param3)
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
public void tracef(String format, int arg)
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
public void tracef(String format, int arg1, int arg2)
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
public void tracef(String format, int arg1, Object arg2)
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
public void tracef(String format, int arg1, int arg2, int arg3)
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
public void tracef(String format, int arg1, int arg2, Object arg3)
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
public void tracef(String format, int arg1, Object arg2, Object arg3)
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
public void tracef(Throwable t, String format, int arg)
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
public void tracef(Throwable t, String format, int arg1, int arg2)
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
public void tracef(Throwable t, String format, int arg1, Object arg2)
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
public void tracef(Throwable t, String format, int arg1, int arg2, int arg3)
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
public void tracef(Throwable t, String format, int arg1, int arg2, Object arg3)
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
public void tracef(Throwable t, String format, int arg1, Object arg2, Object arg3)
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
public void tracef(String format, long arg)
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
public void tracef(String format, long arg1, long arg2)
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
public void tracef(String format, long arg1, Object arg2)
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
public void tracef(String format, long arg1, long arg2, long arg3)
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
public void tracef(String format, long arg1, long arg2, Object arg3)
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
public void tracef(String format, long arg1, Object arg2, Object arg3)
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
public void tracef(Throwable t, String format, long arg)
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
public void tracef(Throwable t, String format, long arg1, long arg2)
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
public void tracef(Throwable t, String format, long arg1, Object arg2)
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
public void tracef(Throwable t, String format, long arg1, long arg2, long arg3)
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
public void tracef(Throwable t, String format, long arg1, long arg2, Object arg3)
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
public void tracef(Throwable t, String format, long arg1, Object arg2, Object arg3)
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
public void debug(Object message)
Issue a log message with a level of DEBUG.- Specified by:
debugin interfaceBasicLogger- Parameters:
message- the message
-
debug
public void debug(Object message, Throwable t)
Issue a log message and throwable with a level of DEBUG.- Specified by:
debugin interfaceBasicLogger- Parameters:
message- the messaget- the throwable
-
debug
public void debug(String loggerFqcn, Object message, Throwable t)
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 public void debug(Object message, Object[] params)
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 public void debug(Object message, Object[] params, Throwable t)
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
public void debug(String loggerFqcn, Object message, Object[] params, Throwable t)
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
public void debugv(String format, Object... params)
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
public void debugv(String format, Object param1)
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
public void debugv(String format, Object param1, Object param2)
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
public void debugv(String format, Object param1, Object param2, Object param3)
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
public void debugv(Throwable t, String format, Object... params)
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
public void debugv(Throwable t, String format, Object param1)
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
public void debugv(Throwable t, String format, Object param1, Object param2)
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
public void debugv(Throwable t, String format, Object param1, Object param2, Object param3)
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
public void debugf(String format, Object... params)
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
public void debugf(String format, Object param1)
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
public void debugf(String format, Object param1, Object param2)
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
public void debugf(String format, Object param1, Object param2, Object param3)
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
public void debugf(Throwable t, String format, Object... params)
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
public void debugf(Throwable t, String format, Object param1)
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
public void debugf(Throwable t, String format, Object param1, Object param2)
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
public void debugf(Throwable t, String format, Object param1, Object param2, Object param3)
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
public void debugf(String format, int arg)
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
public void debugf(String format, int arg1, int arg2)
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
public void debugf(String format, int arg1, Object arg2)
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
public void debugf(String format, int arg1, int arg2, int arg3)
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
public void debugf(String format, int arg1, int arg2, Object arg3)
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
public void debugf(String format, int arg1, Object arg2, Object arg3)
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
public void debugf(Throwable t, String format, int arg)
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
public void debugf(Throwable t, String format, int arg1, int arg2)
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
public void debugf(Throwable t, String format, int arg1, Object arg2)
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
public void debugf(Throwable t, String format, int arg1, int arg2, int arg3)
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
public void debugf(Throwable t, String format, int arg1, int arg2, Object arg3)
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
public void debugf(Throwable t, String format, int arg1, Object arg2, Object arg3)
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
public void debugf(String format, long arg)
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
public void debugf(String format, long arg1, long arg2)
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
public void debugf(String format, long arg1, Object arg2)
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
public void debugf(String format, long arg1, long arg2, long arg3)
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
public void debugf(String format, long arg1, long arg2, Object arg3)
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
public void debugf(String format, long arg1, Object arg2, Object arg3)
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
public void debugf(Throwable t, String format, long arg)
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
public void debugf(Throwable t, String format, long arg1, long arg2)
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
public void debugf(Throwable t, String format, long arg1, Object arg2)
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
public void debugf(Throwable t, String format, long arg1, long arg2, long arg3)
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
public void debugf(Throwable t, String format, long arg1, long arg2, Object arg3)
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
public void debugf(Throwable t, String format, long arg1, Object arg2, Object arg3)
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
public void info(Object message)
Issue a log message with a level of INFO.- Specified by:
infoin interfaceBasicLogger- Parameters:
message- the message
-
info
public void info(Object message, Throwable t)
Issue a log message and throwable with a level of INFO.- Specified by:
infoin interfaceBasicLogger- Parameters:
message- the messaget- the throwable
-
info
public void info(String loggerFqcn, Object message, Throwable t)
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 public void info(Object message, Object[] params)
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 public void info(Object message, Object[] params, Throwable t)
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
public void info(String loggerFqcn, Object message, Object[] params, Throwable t)
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
public void infov(String format, Object... params)
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
public void infov(String format, Object param1)
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
public void infov(String format, Object param1, Object param2)
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
public void infov(String format, Object param1, Object param2, Object param3)
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
public void infov(Throwable t, String format, Object... params)
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
public void infov(Throwable t, String format, Object param1)
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
public void infov(Throwable t, String format, Object param1, Object param2)
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
public void infov(Throwable t, String format, Object param1, Object param2, Object param3)
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
public void infof(String format, Object... params)
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
public void infof(String format, Object param1)
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
public void infof(String format, Object param1, Object param2)
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
public void infof(String format, Object param1, Object param2, Object param3)
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
public void infof(Throwable t, String format, Object... params)
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
public void infof(Throwable t, String format, Object param1)
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
public void infof(Throwable t, String format, Object param1, Object param2)
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
public void infof(Throwable t, String format, Object param1, Object param2, Object param3)
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
public void warn(Object message)
Issue a log message with a level of WARN.- Specified by:
warnin interfaceBasicLogger- Parameters:
message- the message
-
warn
public void warn(Object message, Throwable t)
Issue a log message and throwable with a level of WARN.- Specified by:
warnin interfaceBasicLogger- Parameters:
message- the messaget- the throwable
-
warn
public void warn(String loggerFqcn, Object message, Throwable t)
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 public void warn(Object message, Object[] params)
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 public void warn(Object message, Object[] params, Throwable t)
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
public void warn(String loggerFqcn, Object message, Object[] params, Throwable t)
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
public void warnv(String format, Object... params)
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
public void warnv(String format, Object param1)
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
public void warnv(String format, Object param1, Object param2)
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
public void warnv(String format, Object param1, Object param2, Object param3)
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
public void warnv(Throwable t, String format, Object... params)
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
public void warnv(Throwable t, String format, Object param1)
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
public void warnv(Throwable t, String format, Object param1, Object param2)
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
public void warnv(Throwable t, String format, Object param1, Object param2, Object param3)
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
public void warnf(String format, Object... params)
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
public void warnf(String format, Object param1)
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
public void warnf(String format, Object param1, Object param2)
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
public void warnf(String format, Object param1, Object param2, Object param3)
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
public void warnf(Throwable t, String format, Object... params)
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
public void warnf(Throwable t, String format, Object param1)
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
public void warnf(Throwable t, String format, Object param1, Object param2)
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
public void warnf(Throwable t, String format, Object param1, Object param2, Object param3)
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
public void error(Object message)
Issue a log message with a level of ERROR.- Specified by:
errorin interfaceBasicLogger- Parameters:
message- the message
-
error
public void error(Object message, Throwable t)
Issue a log message and throwable with a level of ERROR.- Specified by:
errorin interfaceBasicLogger- Parameters:
message- the messaget- the throwable
-
error
public void error(String loggerFqcn, Object message, Throwable t)
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 public void error(Object message, Object[] params)
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 public void error(Object message, Object[] params, Throwable t)
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
public void error(String loggerFqcn, Object message, Object[] params, Throwable t)
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
public void errorv(String format, Object... params)
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
public void errorv(String format, Object param1)
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
public void errorv(String format, Object param1, Object param2)
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
public void errorv(String format, Object param1, Object param2, Object param3)
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
public void errorv(Throwable t, String format, Object... params)
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
public void errorv(Throwable t, String format, Object param1)
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
public void errorv(Throwable t, String format, Object param1, Object param2)
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
public void errorv(Throwable t, String format, Object param1, Object param2, Object param3)
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
public void errorf(String format, Object... params)
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
public void errorf(String format, Object param1)
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
public void errorf(String format, Object param1, Object param2)
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
public void errorf(String format, Object param1, Object param2, Object param3)
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
public void errorf(Throwable t, String format, Object... params)
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
public void errorf(Throwable t, String format, Object param1)
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
public void errorf(Throwable t, String format, Object param1, Object param2)
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
public void errorf(Throwable t, String format, Object param1, Object param2, Object param3)
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
public void fatal(Object message)
Issue a log message with a level of FATAL.- Specified by:
fatalin interfaceBasicLogger- Parameters:
message- the message
-
fatal
public void fatal(Object message, Throwable t)
Issue a log message and throwable with a level of FATAL.- Specified by:
fatalin interfaceBasicLogger- Parameters:
message- the messaget- the throwable
-
fatal
public void fatal(String loggerFqcn, Object message, Throwable t)
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 public void fatal(Object message, Object[] params)
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 public void fatal(Object message, Object[] params, Throwable t)
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
public void fatal(String loggerFqcn, Object message, Object[] params, Throwable t)
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
public void fatalv(String format, Object... params)
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
public void fatalv(String format, Object param1)
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
public void fatalv(String format, Object param1, Object param2)
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
public void fatalv(String format, Object param1, Object param2, Object param3)
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
public void fatalv(Throwable t, String format, Object... params)
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
public void fatalv(Throwable t, String format, Object param1)
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
public void fatalv(Throwable t, String format, Object param1, Object param2)
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
public void fatalv(Throwable t, String format, Object param1, Object param2, Object param3)
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
public void fatalf(String format, Object... params)
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
public void fatalf(String format, Object param1)
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
public void fatalf(String format, Object param1, Object param2)
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
public void fatalf(String format, Object param1, Object param2, Object param3)
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
public void fatalf(Throwable t, String format, Object... params)
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
public void fatalf(Throwable t, String format, Object param1)
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
public void fatalf(Throwable t, String format, Object param1, Object param2)
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
public void fatalf(Throwable t, String format, Object param1, Object param2, Object param3)
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
public void log(Logger.Level level, Object message)
Log a message at the given level.- Specified by:
login interfaceBasicLogger- Parameters:
level- the levelmessage- the message
-
log
public void log(Logger.Level level, Object message, Throwable t)
Issue a log message and throwable at the given log level.- Specified by:
login interfaceBasicLogger- Parameters:
level- the levelmessage- the messaget- the throwable
-
log
public void log(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.- Specified by:
login interfaceBasicLogger- Parameters:
level- the levelloggerFqcn- the logger class namemessage- the messaget- the throwable
-
log
@Deprecated public void log(Logger.Level level, Object message, Object[] params)
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 public void log(Logger.Level level, Object message, Object[] params, Throwable t)
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
public void logv(Logger.Level level, String format, Object... params)
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
public void logv(Logger.Level level, String format, Object param1)
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
public void logv(Logger.Level level, String format, Object param1, Object param2)
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
public void logv(Logger.Level level, 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 levelformat- the message format stringparam1- the first parameterparam2- the second parameterparam3- the third parameter
-
logv
public void logv(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:
level- the levelt- the throwableformat- the message format stringparams- the parameters
-
logv
public void logv(Logger.Level level, Throwable t, String format, Object param1)
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
public void logv(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:
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
public void logv(String loggerFqcn, Logger.Level level, Throwable t, String format, Object param1)
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
public void logf(Logger.Level level, String format, Object... params)
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
public void logf(Logger.Level level, String format, Object param1)
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
public void logf(Logger.Level level, String format, Object param1, Object param2)
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
public void logf(Logger.Level level, 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 levelformat- 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(Logger.Level level, Throwable t, String format, Object... params)
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
public void logf(Logger.Level level, Throwable t, String format, Object param1)
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
public void logf(Logger.Level level, Throwable t, String format, Object param1, Object param2)
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
public void logf(String loggerFqcn, Logger.Level level, Throwable t, String format, Object param1)
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
protected final Object writeReplace()
Read resolver; replaces deserialized instance with a canonical instance.- Returns:
- the canonical logger instance
-
getLogger
public static Logger getLogger(String name)
Get a Logger instance given the logger name.- Parameters:
name- the logger name- Returns:
- the logger
-
getLogger
public static Logger getLogger(String name, String suffix)
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
public static Logger getLogger(Class<?> clazz)
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
public static Logger getLogger(Class<?> clazz, String suffix)
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
public static <T> T getMessageLogger(MethodHandles.Lookup lookup, Class<T> type, String category)
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
-
-