public abstract class Logger extends Object implements Serializable, BasicLogger
Modifier and Type | Class and Description |
---|---|
static class |
Logger.Level
Levels used by this logging API.
|
Modifier | Constructor and Description |
---|---|
protected |
Logger(String name)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
debug(Object message)
Issue a log message with a level of DEBUG.
|
void |
debug(Object message,
Object[] params)
Deprecated.
To log a message with parameters, using
debugv(String, Object...) is recommended. |
void |
debug(Object message,
Object[] params,
Throwable t)
Deprecated.
To log a message with parameters, using
debugv(Throwable, String, Object...) is recommended. |
void |
debug(Object message,
Throwable t)
Issue a log message and throwable with a level of DEBUG.
|
void |
debug(String loggerFqcn,
Object message,
Object[] params,
Throwable t)
Issue a log message with parameters and a throwable with a level of DEBUG.
|
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.
|
void |
debugf(String format,
int arg)
Issue a formatted log message with a level of DEBUG.
|
void |
debugf(String format,
int arg1,
int arg2)
Issue a formatted log message with a level of DEBUG.
|
void |
debugf(String format,
int arg1,
int arg2,
int arg3)
Issue a formatted log message with a level of DEBUG.
|
void |
debugf(String format,
int arg1,
int arg2,
Object arg3)
Issue a formatted log message with a level of DEBUG.
|
void |
debugf(String format,
int arg1,
Object arg2)
Issue a formatted log message with a level of DEBUG.
|
void |
debugf(String format,
int arg1,
Object arg2,
Object arg3)
Issue a formatted log message with a level of DEBUG.
|
void |
debugf(String format,
long arg)
Issue a formatted log message with a level of DEBUG.
|
void |
debugf(String format,
long arg1,
long arg2)
Issue a formatted log message with a level of DEBUG.
|
void |
debugf(String format,
long arg1,
long arg2,
long arg3)
Issue a formatted log message with a level of DEBUG.
|
void |
debugf(String format,
long arg1,
long arg2,
Object arg3)
Issue a formatted log message with a level of DEBUG.
|
void |
debugf(String format,
long arg1,
Object arg2)
Issue a formatted log message with a level of DEBUG.
|
void |
debugf(String format,
long arg1,
Object arg2,
Object arg3)
Issue a formatted log message with a level of DEBUG.
|
void |
debugf(String format,
Object... params)
Issue a formatted log message with a level of DEBUG.
|
void |
debugf(String format,
Object param1)
Issue a formatted log message with a level of DEBUG.
|
void |
debugf(String format,
Object param1,
Object param2)
Issue a formatted log message with a level of DEBUG.
|
void |
debugf(String format,
Object param1,
Object param2,
Object param3)
Issue a formatted log message with a level of DEBUG.
|
void |
debugf(Throwable t,
String format,
int arg)
Issue a formatted log message with a level of DEBUG.
|
void |
debugf(Throwable t,
String format,
int arg1,
int arg2)
Issue a formatted log message with a level of DEBUG.
|
void |
debugf(Throwable t,
String format,
int arg1,
int arg2,
int arg3)
Issue a formatted log message with a level of DEBUG.
|
void |
debugf(Throwable t,
String format,
int arg1,
int arg2,
Object arg3)
Issue a formatted log message with a level of DEBUG.
|
void |
debugf(Throwable t,
String format,
int arg1,
Object arg2)
Issue a formatted log message with a level of DEBUG.
|
void |
debugf(Throwable t,
String format,
int arg1,
Object arg2,
Object arg3)
Issue a formatted log message with a level of DEBUG.
|
void |
debugf(Throwable t,
String format,
long arg)
Issue a formatted log message with a level of DEBUG.
|
void |
debugf(Throwable t,
String format,
long arg1,
long arg2)
Issue a formatted log message with a level of DEBUG.
|
void |
debugf(Throwable t,
String format,
long arg1,
long arg2,
long arg3)
Issue a formatted log message with a level of DEBUG.
|
void |
debugf(Throwable t,
String format,
long arg1,
long arg2,
Object arg3)
Issue a formatted log message with a level of DEBUG.
|
void |
debugf(Throwable t,
String format,
long arg1,
Object arg2)
Issue a formatted log message with a level of DEBUG.
|
void |
debugf(Throwable t,
String format,
long arg1,
Object arg2,
Object arg3)
Issue a formatted log message with a level of DEBUG.
|
void |
debugf(Throwable t,
String format,
Object... params)
Issue a formatted log message with a level of DEBUG.
|
void |
debugf(Throwable t,
String format,
Object param1)
Issue a formatted log message with a level of DEBUG.
|
void |
debugf(Throwable t,
String format,
Object param1,
Object param2)
Issue a formatted log message with a level of DEBUG.
|
void |
debugf(Throwable t,
String format,
Object param1,
Object param2,
Object param3)
Issue a formatted log message with a level of DEBUG.
|
void |
debugv(String format,
Object... params)
Issue a log message with a level of DEBUG using
MessageFormat -style formatting. |
void |
debugv(String format,
Object param1)
Issue a log message with a level of DEBUG using
MessageFormat -style formatting. |
void |
debugv(String format,
Object param1,
Object param2)
Issue a log message with a level of DEBUG using
MessageFormat -style formatting. |
void |
debugv(String format,
Object param1,
Object param2,
Object param3)
Issue a log message with a level of DEBUG using
MessageFormat -style formatting. |
void |
debugv(Throwable t,
String format,
Object... params)
Issue a log message with a level of DEBUG using
MessageFormat -style formatting. |
void |
debugv(Throwable t,
String format,
Object param1)
Issue a log message with a level of DEBUG using
MessageFormat -style formatting. |
void |
debugv(Throwable t,
String format,
Object param1,
Object param2)
Issue a log message with a level of DEBUG using
MessageFormat -style formatting. |
void |
debugv(Throwable t,
String format,
Object param1,
Object param2,
Object param3)
Issue a log message with a level of DEBUG using
MessageFormat -style formatting. |
protected abstract void |
doLog(Logger.Level level,
String loggerClassName,
Object message,
Object[] parameters,
Throwable thrown)
Implementation log method (standard parameter formatting).
|
protected abstract void |
doLogf(Logger.Level level,
String loggerClassName,
String format,
Object[] parameters,
Throwable thrown)
Implementation log method (printf formatting).
|
void |
error(Object message)
Issue a log message with a level of ERROR.
|
void |
error(Object message,
Object[] params)
Deprecated.
To log a message with parameters, using
errorv(String, Object...) is recommended. |
void |
error(Object message,
Object[] params,
Throwable t)
Deprecated.
To log a message with parameters, using
errorv(Throwable, String, Object...) is recommended. |
void |
error(Object message,
Throwable t)
Issue a log message and throwable with a level of ERROR.
|
void |
error(String loggerFqcn,
Object message,
Object[] params,
Throwable t)
Issue a log message with parameters and a throwable with a level of ERROR.
|
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.
|
void |
errorf(String format,
Object... params)
Issue a formatted log message with a level of ERROR.
|
void |
errorf(String format,
Object param1)
Issue a formatted log message with a level of ERROR.
|
void |
errorf(String format,
Object param1,
Object param2)
Issue a formatted log message with a level of ERROR.
|
void |
errorf(String format,
Object param1,
Object param2,
Object param3)
Issue a formatted log message with a level of ERROR.
|
void |
errorf(Throwable t,
String format,
Object... params)
Issue a formatted log message with a level of ERROR.
|
void |
errorf(Throwable t,
String format,
Object param1)
Issue a formatted log message with a level of ERROR.
|
void |
errorf(Throwable t,
String format,
Object param1,
Object param2)
Issue a formatted log message with a level of ERROR.
|
void |
errorf(Throwable t,
String format,
Object param1,
Object param2,
Object param3)
Issue a formatted log message with a level of ERROR.
|
void |
errorv(String format,
Object... params)
Issue a log message with a level of ERROR using
MessageFormat -style formatting. |
void |
errorv(String format,
Object param1)
Issue a log message with a level of ERROR using
MessageFormat -style formatting. |
void |
errorv(String format,
Object param1,
Object param2)
Issue a log message with a level of ERROR using
MessageFormat -style formatting. |
void |
errorv(String format,
Object param1,
Object param2,
Object param3)
Issue a log message with a level of ERROR using
MessageFormat -style formatting. |
void |
errorv(Throwable t,
String format,
Object... params)
Issue a log message with a level of ERROR using
MessageFormat -style formatting. |
void |
errorv(Throwable t,
String format,
Object param1)
Issue a log message with a level of ERROR using
MessageFormat -style formatting. |
void |
errorv(Throwable t,
String format,
Object param1,
Object param2)
Issue a log message with a level of ERROR using
MessageFormat -style formatting. |
void |
errorv(Throwable t,
String format,
Object param1,
Object param2,
Object param3)
Issue a log message with a level of ERROR using
MessageFormat -style formatting. |
void |
fatal(Object message)
Issue a log message with a level of FATAL.
|
void |
fatal(Object message,
Object[] params)
Deprecated.
To log a message with parameters, using
fatalv(String, Object...) is recommended. |
void |
fatal(Object message,
Object[] params,
Throwable t)
Deprecated.
To log a message with parameters, using
fatalv(Throwable, String, Object...) is recommended. |
void |
fatal(Object message,
Throwable t)
Issue a log message and throwable with a level of FATAL.
|
void |
fatal(String loggerFqcn,
Object message,
Object[] params,
Throwable t)
Issue a log message with parameters and a throwable with a level of FATAL.
|
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.
|
void |
fatalf(String format,
Object... params)
Issue a formatted log message with a level of FATAL.
|
void |
fatalf(String format,
Object param1)
Issue a formatted log message with a level of FATAL.
|
void |
fatalf(String format,
Object param1,
Object param2)
Issue a formatted log message with a level of FATAL.
|
void |
fatalf(String format,
Object param1,
Object param2,
Object param3)
Issue a formatted log message with a level of FATAL.
|
void |
fatalf(Throwable t,
String format,
Object... params)
Issue a formatted log message with a level of FATAL.
|
void |
fatalf(Throwable t,
String format,
Object param1)
Issue a formatted log message with a level of FATAL.
|
void |
fatalf(Throwable t,
String format,
Object param1,
Object param2)
Issue a formatted log message with a level of FATAL.
|
void |
fatalf(Throwable t,
String format,
Object param1,
Object param2,
Object param3)
Issue a formatted log message with a level of FATAL.
|
void |
fatalv(String format,
Object... params)
Issue a log message with a level of FATAL using
MessageFormat -style formatting. |
void |
fatalv(String format,
Object param1)
Issue a log message with a level of FATAL using
MessageFormat -style formatting. |
void |
fatalv(String format,
Object param1,
Object param2)
Issue a log message with a level of FATAL using
MessageFormat -style formatting. |
void |
fatalv(String format,
Object param1,
Object param2,
Object param3)
Issue a log message with a level of FATAL using
MessageFormat -style formatting. |
void |
fatalv(Throwable t,
String format,
Object... params)
Issue a log message with a level of FATAL using
MessageFormat -style formatting. |
void |
fatalv(Throwable t,
String format,
Object param1)
Issue a log message with a level of FATAL using
MessageFormat -style formatting. |
void |
fatalv(Throwable t,
String format,
Object param1,
Object param2)
Issue a log message with a level of FATAL using
MessageFormat -style formatting. |
void |
fatalv(Throwable t,
String format,
Object param1,
Object param2,
Object param3)
Issue a log message with a level of FATAL using
MessageFormat -style formatting. |
static Logger |
getLogger(Class<?> clazz)
Get a Logger instance given the name of a class.
|
static Logger |
getLogger(Class<?> clazz,
String suffix)
Get a Logger instance given the name of a class with the given suffix.
|
static Logger |
getLogger(String name)
Get a Logger instance given the logger name.
|
static Logger |
getLogger(String name,
String suffix)
Get a Logger instance given the logger name with the given suffix.
|
static <T> T |
getMessageLogger(Class<T> type,
String category)
Get a typed logger which implements the given interface.
|
static <T> T |
getMessageLogger(Class<T> type,
String category,
Locale locale)
Get a typed logger which implements the given interface.
|
String |
getName()
Return the name of this logger.
|
void |
info(Object message)
Issue a log message with a level of INFO.
|
void |
info(Object message,
Object[] params)
Deprecated.
To log a message with parameters, using
infov(String, Object...) is recommended. |
void |
info(Object message,
Object[] params,
Throwable t)
Deprecated.
To log a message with parameters, using
infov(Throwable, String, Object...) is recommended. |
void |
info(Object message,
Throwable t)
Issue a log message and throwable with a level of INFO.
|
void |
info(String loggerFqcn,
Object message,
Object[] params,
Throwable t)
Issue a log message with parameters and a throwable with a level of INFO.
|
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.
|
void |
infof(String format,
Object... params)
Issue a formatted log message with a level of INFO.
|
void |
infof(String format,
Object param1)
Issue a formatted log message with a level of INFO.
|
void |
infof(String format,
Object param1,
Object param2)
Issue a formatted log message with a level of INFO.
|
void |
infof(String format,
Object param1,
Object param2,
Object param3)
Issue a formatted log message with a level of INFO.
|
void |
infof(Throwable t,
String format,
Object... params)
Issue a formatted log message with a level of INFO.
|
void |
infof(Throwable t,
String format,
Object param1)
Issue a formatted log message with a level of INFO.
|
void |
infof(Throwable t,
String format,
Object param1,
Object param2)
Issue a formatted log message with a level of INFO.
|
void |
infof(Throwable t,
String format,
Object param1,
Object param2,
Object param3)
Issue a formatted log message with a level of INFO.
|
void |
infov(String format,
Object... params)
Issue a log message with a level of INFO using
MessageFormat -style formatting. |
void |
infov(String format,
Object param1)
Issue a log message with a level of INFO using
MessageFormat -style formatting. |
void |
infov(String format,
Object param1,
Object param2)
Issue a log message with a level of INFO using
MessageFormat -style formatting. |
void |
infov(String format,
Object param1,
Object param2,
Object param3)
Issue a log message with a level of INFO using
MessageFormat -style formatting. |
void |
infov(Throwable t,
String format,
Object... params)
Issue a log message with a level of INFO using
MessageFormat -style formatting. |
void |
infov(Throwable t,
String format,
Object param1)
Issue a log message with a level of INFO using
MessageFormat -style formatting. |
void |
infov(Throwable t,
String format,
Object param1,
Object param2)
Issue a log message with a level of INFO using
MessageFormat -style formatting. |
void |
infov(Throwable t,
String format,
Object param1,
Object param2,
Object param3)
Issue a log message with a level of INFO using
MessageFormat -style formatting. |
boolean |
isDebugEnabled()
Check to see if the
DEBUG level is enabled for this logger. |
boolean |
isInfoEnabled()
Check to see if the
INFO level is enabled for this logger. |
boolean |
isTraceEnabled()
Check to see if the
TRACE level is enabled for this logger. |
void |
log(Logger.Level level,
Object message)
Log a message at the given level.
|
void |
log(Logger.Level level,
Object message,
Object[] params)
Deprecated.
To log a message with parameters, using
logv(Level, String, Object...) is recommended. |
void |
log(Logger.Level level,
Object message,
Object[] params,
Throwable t)
Deprecated.
To log a message with parameters, using
logv(Level, Throwable, String, Object...) is recommended. |
void |
log(Logger.Level level,
Object message,
Throwable t)
Issue a log message and throwable at the given log level.
|
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.
|
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.
|
void |
logf(Logger.Level level,
String format,
Object... params)
Issue a formatted log message at the given log level.
|
void |
logf(Logger.Level level,
String format,
Object param1)
Issue a formatted log message at the given log level.
|
void |
logf(Logger.Level level,
String format,
Object param1,
Object param2)
Issue a formatted log message at the given log level.
|
void |
logf(Logger.Level level,
String format,
Object param1,
Object param2,
Object param3)
Issue a formatted log message at the given log level.
|
void |
logf(Logger.Level level,
Throwable t,
String format,
Object... params)
Issue a formatted log message at the given log level.
|
void |
logf(Logger.Level level,
Throwable t,
String format,
Object param1)
Issue a formatted log message at the given log level.
|
void |
logf(Logger.Level level,
Throwable t,
String format,
Object param1,
Object param2)
Issue a formatted log message at the given log level.
|
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.
|
void |
logf(String loggerFqcn,
Logger.Level level,
Throwable t,
String format,
Object... params)
Log a message at the given level.
|
void |
logf(String loggerFqcn,
Logger.Level level,
Throwable t,
String format,
Object param1)
Log a message at the given level.
|
void |
logf(String loggerFqcn,
Logger.Level level,
Throwable t,
String format,
Object param1,
Object param2)
Log a message at the given level.
|
void |
logf(String loggerFqcn,
Logger.Level level,
Throwable t,
String format,
Object param1,
Object param2,
Object param3)
Log a message at the given level.
|
void |
logv(Logger.Level level,
String format,
Object... params)
Issue a log message at the given log level using
MessageFormat -style formatting. |
void |
logv(Logger.Level level,
String format,
Object param1)
Issue a log message at the given log level using
MessageFormat -style formatting. |
void |
logv(Logger.Level level,
String format,
Object param1,
Object param2)
Issue a log message at the given log level using
MessageFormat -style formatting. |
void |
logv(Logger.Level level,
String format,
Object param1,
Object param2,
Object param3)
Issue a log message at the given log level using
MessageFormat -style formatting. |
void |
logv(Logger.Level level,
Throwable t,
String format,
Object... params)
Issue a log message at the given log level using
MessageFormat -style formatting. |
void |
logv(Logger.Level level,
Throwable t,
String format,
Object param1)
Issue a log message at the given log level using
MessageFormat -style formatting. |
void |
logv(Logger.Level level,
Throwable t,
String format,
Object param1,
Object param2)
Issue a log message at the given log level using
MessageFormat -style formatting. |
void |
logv(Logger.Level level,
Throwable t,
String format,
Object param1,
Object param2,
Object param3)
Issue a log message at the given log level using
MessageFormat -style formatting. |
void |
logv(String loggerFqcn,
Logger.Level level,
Throwable t,
String format,
Object... params)
Issue a log message at the given log level using
MessageFormat -style formatting. |
void |
logv(String loggerFqcn,
Logger.Level level,
Throwable t,
String format,
Object param1)
Issue a log message at the given log level using
MessageFormat -style formatting. |
void |
logv(String loggerFqcn,
Logger.Level level,
Throwable t,
String format,
Object param1,
Object param2)
Issue a log message at the given log level using
MessageFormat -style formatting. |
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 using
MessageFormat -style formatting. |
void |
trace(Object message)
Issue a log message with a level of TRACE.
|
void |
trace(Object message,
Object[] params)
Deprecated.
To log a message with parameters, using
tracev(String, Object...) is recommended. |
void |
trace(Object message,
Object[] params,
Throwable t)
Deprecated.
To log a message with parameters, using
tracev(Throwable, String, Object...) is recommended. |
void |
trace(Object message,
Throwable t)
Issue a log message and throwable with a level of TRACE.
|
void |
trace(String loggerFqcn,
Object message,
Object[] params,
Throwable t)
Issue a log message with parameters and a throwable with a level of TRACE.
|
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.
|
void |
tracef(String format,
int arg)
Issue a formatted log message with a level of TRACE.
|
void |
tracef(String format,
int arg1,
int arg2)
Issue a formatted log message with a level of TRACE.
|
void |
tracef(String format,
int arg1,
int arg2,
int arg3)
Issue a formatted log message with a level of TRACE.
|
void |
tracef(String format,
int arg1,
int arg2,
Object arg3)
Issue a formatted log message with a level of TRACE.
|
void |
tracef(String format,
int arg1,
Object arg2)
Issue a formatted log message with a level of TRACE.
|
void |
tracef(String format,
int arg1,
Object arg2,
Object arg3)
Issue a formatted log message with a level of TRACE.
|
void |
tracef(String format,
long arg)
Issue a formatted log message with a level of TRACE.
|
void |
tracef(String format,
long arg1,
long arg2)
Issue a formatted log message with a level of TRACE.
|
void |
tracef(String format,
long arg1,
long arg2,
long arg3)
Issue a formatted log message with a level of TRACE.
|
void |
tracef(String format,
long arg1,
long arg2,
Object arg3)
Issue a formatted log message with a level of TRACE.
|
void |
tracef(String format,
long arg1,
Object arg2)
Issue a formatted log message with a level of TRACE.
|
void |
tracef(String format,
long arg1,
Object arg2,
Object arg3)
Issue a formatted log message with a level of TRACE.
|
void |
tracef(String format,
Object... params)
Issue a formatted log message with a level of TRACE.
|
void |
tracef(String format,
Object param1)
Issue a formatted log message with a level of TRACE.
|
void |
tracef(String format,
Object param1,
Object param2)
Issue a formatted log message with a level of TRACE.
|
void |
tracef(String format,
Object param1,
Object param2,
Object param3)
Issue a formatted log message with a level of TRACE.
|
void |
tracef(Throwable t,
String format,
int arg)
Issue a formatted log message with a level of TRACE.
|
void |
tracef(Throwable t,
String format,
int arg1,
int arg2)
Issue a formatted log message with a level of TRACE.
|
void |
tracef(Throwable t,
String format,
int arg1,
int arg2,
int arg3)
Issue a formatted log message with a level of TRACE.
|
void |
tracef(Throwable t,
String format,
int arg1,
int arg2,
Object arg3)
Issue a formatted log message with a level of TRACE.
|
void |
tracef(Throwable t,
String format,
int arg1,
Object arg2)
Issue a formatted log message with a level of TRACE.
|
void |
tracef(Throwable t,
String format,
int arg1,
Object arg2,
Object arg3)
Issue a formatted log message with a level of TRACE.
|
void |
tracef(Throwable t,
String format,
long arg)
Issue a formatted log message with a level of TRACE.
|
void |
tracef(Throwable t,
String format,
long arg1,
long arg2)
Issue a formatted log message with a level of TRACE.
|
void |
tracef(Throwable t,
String format,
long arg1,
long arg2,
long arg3)
Issue a formatted log message with a level of TRACE.
|
void |
tracef(Throwable t,
String format,
long arg1,
long arg2,
Object arg3)
Issue a formatted log message with a level of TRACE.
|
void |
tracef(Throwable t,
String format,
long arg1,
Object arg2)
Issue a formatted log message with a level of TRACE.
|
void |
tracef(Throwable t,
String format,
long arg1,
Object arg2,
Object arg3)
Issue a formatted log message with a level of TRACE.
|
void |
tracef(Throwable t,
String format,
Object... params)
Issue a formatted log message with a level of TRACE.
|
void |
tracef(Throwable t,
String format,
Object param1)
Issue a formatted log message with a level of TRACE.
|
void |
tracef(Throwable t,
String format,
Object param1,
Object param2)
Issue a formatted log message with a level of TRACE.
|
void |
tracef(Throwable t,
String format,
Object param1,
Object param2,
Object param3)
Issue a formatted log message with a level of TRACE.
|
void |
tracev(String format,
Object... params)
Issue a log message with a level of TRACE using
MessageFormat -style formatting. |
void |
tracev(String format,
Object param1)
Issue a log message with a level of TRACE using
MessageFormat -style formatting. |
void |
tracev(String format,
Object param1,
Object param2)
Issue a log message with a level of TRACE using
MessageFormat -style formatting. |
void |
tracev(String format,
Object param1,
Object param2,
Object param3)
Issue a log message with a level of TRACE using
MessageFormat -style formatting. |
void |
tracev(Throwable t,
String format,
Object... params)
Issue a log message with a level of TRACE using
MessageFormat -style formatting. |
void |
tracev(Throwable t,
String format,
Object param1)
Issue a log message with a level of TRACE using
MessageFormat -style formatting. |
void |
tracev(Throwable t,
String format,
Object param1,
Object param2)
Issue a log message with a level of TRACE using
MessageFormat -style formatting. |
void |
tracev(Throwable t,
String format,
Object param1,
Object param2,
Object param3)
Issue a log message with a level of TRACE using
MessageFormat -style formatting. |
void |
warn(Object message)
Issue a log message with a level of WARN.
|
void |
warn(Object message,
Object[] params)
Deprecated.
To log a message with parameters, using
warnv(String, Object...) is recommended. |
void |
warn(Object message,
Object[] params,
Throwable t)
Deprecated.
To log a message with parameters, using
warnv(Throwable, String, Object...) is recommended. |
void |
warn(Object message,
Throwable t)
Issue a log message and throwable with a level of WARN.
|
void |
warn(String loggerFqcn,
Object message,
Object[] params,
Throwable t)
Issue a log message with parameters and a throwable with a level of WARN.
|
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.
|
void |
warnf(String format,
Object... params)
Issue a formatted log message with a level of WARN.
|
void |
warnf(String format,
Object param1)
Issue a formatted log message with a level of WARN.
|
void |
warnf(String format,
Object param1,
Object param2)
Issue a formatted log message with a level of WARN.
|
void |
warnf(String format,
Object param1,
Object param2,
Object param3)
Issue a formatted log message with a level of WARN.
|
void |
warnf(Throwable t,
String format,
Object... params)
Issue a formatted log message with a level of WARN.
|
void |
warnf(Throwable t,
String format,
Object param1)
Issue a formatted log message with a level of WARN.
|
void |
warnf(Throwable t,
String format,
Object param1,
Object param2)
Issue a formatted log message with a level of WARN.
|
void |
warnf(Throwable t,
String format,
Object param1,
Object param2,
Object param3)
Issue a formatted log message with a level of WARN.
|
void |
warnv(String format,
Object... params)
Issue a log message with a level of WARN using
MessageFormat -style formatting. |
void |
warnv(String format,
Object param1)
Issue a log message with a level of WARN using
MessageFormat -style formatting. |
void |
warnv(String format,
Object param1,
Object param2)
Issue a log message with a level of WARN using
MessageFormat -style formatting. |
void |
warnv(String format,
Object param1,
Object param2,
Object param3)
Issue a log message with a level of WARN using
MessageFormat -style formatting. |
void |
warnv(Throwable t,
String format,
Object... params)
Issue a log message with a level of WARN using
MessageFormat -style formatting. |
void |
warnv(Throwable t,
String format,
Object param1)
Issue a log message with a level of WARN using
MessageFormat -style formatting. |
void |
warnv(Throwable t,
String format,
Object param1,
Object param2)
Issue a log message with a level of WARN using
MessageFormat -style formatting. |
void |
warnv(Throwable t,
String format,
Object param1,
Object param2,
Object param3)
Issue a log message with a level of WARN using
MessageFormat -style formatting. |
protected Object |
writeReplace()
Read resolver; replaces deserialized instance with a canonical instance.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isEnabled
protected Logger(String name)
name
- the logger category namepublic String getName()
protected abstract void doLog(Logger.Level level, String loggerClassName, Object message, Object[] parameters, Throwable thrown)
level
- the levelloggerClassName
- the logger class namemessage
- the message to logparameters
- the parameters of the messagethrown
- the exception which was thrown, if anyprotected abstract void doLogf(Logger.Level level, String loggerClassName, String format, Object[] parameters, Throwable thrown)
level
- the levelloggerClassName
- the logger class nameformat
- the format string to logparameters
- the parameters of the messagethrown
- the exception which was thrown, if anypublic boolean isTraceEnabled()
TRACE
level is enabled for this logger.isTraceEnabled
in interface BasicLogger
true
if messages logged at Logger.Level.TRACE
may be accepted, false
otherwisepublic void trace(Object message)
trace
in interface BasicLogger
message
- the messagepublic void trace(Object message, Throwable t)
trace
in interface BasicLogger
message
- the messaget
- the throwablepublic void trace(String loggerFqcn, Object message, Throwable t)
trace
in interface BasicLogger
loggerFqcn
- the logger class namemessage
- the messaget
- the throwable@Deprecated public void trace(Object message, Object[] params)
tracev(String, Object...)
is recommended.message
- the messageparams
- the message parameters@Deprecated public void trace(Object message, Object[] params, Throwable t)
tracev(Throwable, String, Object...)
is recommended.message
- the messageparams
- the message parameterst
- the throwablepublic void trace(String loggerFqcn, Object message, Object[] params, Throwable t)
trace
in interface BasicLogger
loggerFqcn
- the logger class namemessage
- the messageparams
- the message parameterst
- the throwablepublic void tracev(String format, Object... params)
MessageFormat
-style formatting.tracev
in interface BasicLogger
format
- the message format stringparams
- the parameterspublic void tracev(String format, Object param1)
MessageFormat
-style formatting.tracev
in interface BasicLogger
format
- the message format stringparam1
- the sole parameterpublic void tracev(String format, Object param1, Object param2)
MessageFormat
-style formatting.tracev
in interface BasicLogger
format
- the message format stringparam1
- the first parameterparam2
- the second parameterpublic void tracev(String format, Object param1, Object param2, Object param3)
MessageFormat
-style formatting.tracev
in interface BasicLogger
format
- the message format stringparam1
- the first parameterparam2
- the second parameterparam3
- the third parameterpublic void tracev(Throwable t, String format, Object... params)
MessageFormat
-style formatting.tracev
in interface BasicLogger
t
- the throwableformat
- the message format stringparams
- the parameterspublic void tracev(Throwable t, String format, Object param1)
MessageFormat
-style formatting.tracev
in interface BasicLogger
t
- the throwableformat
- the message format stringparam1
- the sole parameterpublic void tracev(Throwable t, String format, Object param1, Object param2)
MessageFormat
-style formatting.tracev
in interface BasicLogger
t
- the throwableformat
- the message format stringparam1
- the first parameterparam2
- the second parameterpublic void tracev(Throwable t, String format, Object param1, Object param2, Object param3)
MessageFormat
-style formatting.tracev
in interface BasicLogger
t
- the throwableformat
- the message format stringparam1
- the first parameterparam2
- the second parameterparam3
- the third parameterpublic void tracef(String format, Object... params)
tracef
in interface BasicLogger
format
- the format string as per String.format(String, Object...)
or resource bundle key thereforparams
- the parameterspublic void tracef(String format, Object param1)
tracef
in interface BasicLogger
format
- the format string as per String.format(String, Object...)
or resource bundle key thereforparam1
- the sole parameterpublic void tracef(String format, Object param1, Object param2)
tracef
in interface BasicLogger
format
- the format string as per String.format(String, Object...)
or resource bundle key thereforparam1
- the first parameterparam2
- the second parameterpublic void tracef(String format, Object param1, Object param2, Object param3)
tracef
in interface BasicLogger
format
- the format string as per String.format(String, Object...)
or resource bundle key thereforparam1
- the first parameterparam2
- the second parameterparam3
- the third parameterpublic void tracef(Throwable t, String format, Object... params)
tracef
in interface BasicLogger
t
- the throwableformat
- the format string, as per String.format(String, Object...)
params
- the parameterspublic void tracef(Throwable t, String format, Object param1)
tracef
in interface BasicLogger
t
- the throwableformat
- the format string, as per String.format(String, Object...)
param1
- the sole parameterpublic void tracef(Throwable t, String format, Object param1, Object param2)
tracef
in interface BasicLogger
t
- the throwableformat
- the format string, as per String.format(String, Object...)
param1
- the first parameterparam2
- the second parameterpublic void tracef(Throwable t, String format, Object param1, Object param2, Object param3)
tracef
in interface BasicLogger
t
- the throwableformat
- the format string, as per String.format(String, Object...)
param1
- the first parameterparam2
- the second parameterparam3
- the third parameterpublic void tracef(String format, int arg)
BasicLogger
tracef
in interface BasicLogger
format
- the format string, as per String.format(String, Object...)
arg
- the parameterpublic void tracef(String format, int arg1, int arg2)
BasicLogger
tracef
in interface BasicLogger
format
- the format string, as per String.format(String, Object...)
arg1
- the first parameterarg2
- the second parameterpublic void tracef(String format, int arg1, Object arg2)
BasicLogger
tracef
in interface BasicLogger
format
- the format string, as per String.format(String, Object...)
arg1
- the first parameterarg2
- the second parameterpublic void tracef(String format, int arg1, int arg2, int arg3)
BasicLogger
tracef
in interface BasicLogger
format
- the format string, as per String.format(String, Object...)
arg1
- the first parameterarg2
- the second parameterarg3
- the third parameterpublic void tracef(String format, int arg1, int arg2, Object arg3)
BasicLogger
tracef
in interface BasicLogger
format
- the format string, as per String.format(String, Object...)
arg1
- the first parameterarg2
- the second parameterarg3
- the third parameterpublic void tracef(String format, int arg1, Object arg2, Object arg3)
BasicLogger
tracef
in interface BasicLogger
format
- the format string, as per String.format(String, Object...)
arg1
- the first parameterarg2
- the second parameterarg3
- the third parameterpublic void tracef(Throwable t, String format, int arg)
BasicLogger
tracef
in interface BasicLogger
t
- the throwableformat
- the format string, as per String.format(String, Object...)
arg
- the parameterpublic void tracef(Throwable t, String format, int arg1, int arg2)
BasicLogger
tracef
in interface BasicLogger
t
- the throwableformat
- the format string, as per String.format(String, Object...)
arg1
- the first parameterarg2
- the second parameterpublic void tracef(Throwable t, String format, int arg1, Object arg2)
BasicLogger
tracef
in interface BasicLogger
t
- the throwableformat
- the format string, as per String.format(String, Object...)
arg1
- the first parameterarg2
- the second parameterpublic void tracef(Throwable t, String format, int arg1, int arg2, int arg3)
BasicLogger
tracef
in interface BasicLogger
t
- the throwableformat
- the format string, as per String.format(String, Object...)
arg1
- the first parameterarg2
- the second parameterarg3
- the third parameterpublic void tracef(Throwable t, String format, int arg1, int arg2, Object arg3)
BasicLogger
tracef
in interface BasicLogger
t
- the throwableformat
- the format string, as per String.format(String, Object...)
arg1
- the first parameterarg2
- the second parameterarg3
- the third parameterpublic void tracef(Throwable t, String format, int arg1, Object arg2, Object arg3)
BasicLogger
tracef
in interface BasicLogger
t
- the throwableformat
- the format string, as per String.format(String, Object...)
arg1
- the first parameterarg2
- the second parameterarg3
- the third parameterpublic void tracef(String format, long arg)
BasicLogger
tracef
in interface BasicLogger
format
- the format string, as per String.format(String, Object...)
arg
- the parameterpublic void tracef(String format, long arg1, long arg2)
BasicLogger
tracef
in interface BasicLogger
format
- the format string, as per String.format(String, Object...)
arg1
- the first parameterarg2
- the second parameterpublic void tracef(String format, long arg1, Object arg2)
BasicLogger
tracef
in interface BasicLogger
format
- the format string, as per String.format(String, Object...)
arg1
- the first parameterarg2
- the second parameterpublic void tracef(String format, long arg1, long arg2, long arg3)
BasicLogger
tracef
in interface BasicLogger
format
- the format string, as per String.format(String, Object...)
arg1
- the first parameterarg2
- the second parameterarg3
- the third parameterpublic void tracef(String format, long arg1, long arg2, Object arg3)
BasicLogger
tracef
in interface BasicLogger
format
- the format string, as per String.format(String, Object...)
arg1
- the first parameterarg2
- the second parameterarg3
- the third parameterpublic void tracef(String format, long arg1, Object arg2, Object arg3)
BasicLogger
tracef
in interface BasicLogger
format
- the format string, as per String.format(String, Object...)
arg1
- the first parameterarg2
- the second parameterarg3
- the third parameterpublic void tracef(Throwable t, String format, long arg)
BasicLogger
tracef
in interface BasicLogger
t
- the throwableformat
- the format string, as per String.format(String, Object...)
arg
- the parameterpublic void tracef(Throwable t, String format, long arg1, long arg2)
BasicLogger
tracef
in interface BasicLogger
t
- the throwableformat
- the format string, as per String.format(String, Object...)
arg1
- the first parameterarg2
- the second parameterpublic void tracef(Throwable t, String format, long arg1, Object arg2)
BasicLogger
tracef
in interface BasicLogger
t
- the throwableformat
- the format string, as per String.format(String, Object...)
arg1
- the first parameterarg2
- the second parameterpublic void tracef(Throwable t, String format, long arg1, long arg2, long arg3)
BasicLogger
tracef
in interface BasicLogger
t
- the throwableformat
- the format string, as per String.format(String, Object...)
arg1
- the first parameterarg2
- the second parameterarg3
- the third parameterpublic void tracef(Throwable t, String format, long arg1, long arg2, Object arg3)
BasicLogger
tracef
in interface BasicLogger
t
- the throwableformat
- the format string, as per String.format(String, Object...)
arg1
- the first parameterarg2
- the second parameterarg3
- the third parameterpublic void tracef(Throwable t, String format, long arg1, Object arg2, Object arg3)
BasicLogger
tracef
in interface BasicLogger
t
- the throwableformat
- the format string, as per String.format(String, Object...)
arg1
- the first parameterarg2
- the second parameterarg3
- the third parameterpublic boolean isDebugEnabled()
DEBUG
level is enabled for this logger.isDebugEnabled
in interface BasicLogger
true
if messages logged at Logger.Level.DEBUG
may be accepted, false
otherwisepublic void debug(Object message)
debug
in interface BasicLogger
message
- the messagepublic void debug(Object message, Throwable t)
debug
in interface BasicLogger
message
- the messaget
- the throwablepublic void debug(String loggerFqcn, Object message, Throwable t)
debug
in interface BasicLogger
loggerFqcn
- the logger class namemessage
- the messaget
- the throwable@Deprecated public void debug(Object message, Object[] params)
debugv(String, Object...)
is recommended.message
- the messageparams
- the message parameters@Deprecated public void debug(Object message, Object[] params, Throwable t)
debugv(Throwable, String, Object...)
is recommended.message
- the messageparams
- the message parameterst
- the throwablepublic void debug(String loggerFqcn, Object message, Object[] params, Throwable t)
debug
in interface BasicLogger
loggerFqcn
- the logger class namemessage
- the messageparams
- the message parameterst
- the throwablepublic void debugv(String format, Object... params)
MessageFormat
-style formatting.debugv
in interface BasicLogger
format
- the message format stringparams
- the parameterspublic void debugv(String format, Object param1)
MessageFormat
-style formatting.debugv
in interface BasicLogger
format
- the message format stringparam1
- the sole parameterpublic void debugv(String format, Object param1, Object param2)
MessageFormat
-style formatting.debugv
in interface BasicLogger
format
- the message format stringparam1
- the first parameterparam2
- the second parameterpublic void debugv(String format, Object param1, Object param2, Object param3)
MessageFormat
-style formatting.debugv
in interface BasicLogger
format
- the message format stringparam1
- the first parameterparam2
- the second parameterparam3
- the third parameterpublic void debugv(Throwable t, String format, Object... params)
MessageFormat
-style formatting.debugv
in interface BasicLogger
t
- the throwableformat
- the message format stringparams
- the parameterspublic void debugv(Throwable t, String format, Object param1)
MessageFormat
-style formatting.debugv
in interface BasicLogger
t
- the throwableformat
- the message format stringparam1
- the sole parameterpublic void debugv(Throwable t, String format, Object param1, Object param2)
MessageFormat
-style formatting.debugv
in interface BasicLogger
t
- the throwableformat
- the message format stringparam1
- the first parameterparam2
- the second parameterpublic void debugv(Throwable t, String format, Object param1, Object param2, Object param3)
MessageFormat
-style formatting.debugv
in interface BasicLogger
t
- the throwableformat
- the message format stringparam1
- the first parameterparam2
- the second parameterparam3
- the third parameterpublic void debugf(String format, Object... params)
debugf
in interface BasicLogger
format
- the format string as per String.format(String, Object...)
or resource bundle key thereforparams
- the parameterspublic void debugf(String format, Object param1)
debugf
in interface BasicLogger
format
- the format string as per String.format(String, Object...)
or resource bundle key thereforparam1
- the sole parameterpublic void debugf(String format, Object param1, Object param2)
debugf
in interface BasicLogger
format
- the format string as per String.format(String, Object...)
or resource bundle key thereforparam1
- the first parameterparam2
- the second parameterpublic void debugf(String format, Object param1, Object param2, Object param3)
debugf
in interface BasicLogger
format
- the format string as per String.format(String, Object...)
or resource bundle key thereforparam1
- the first parameterparam2
- the second parameterparam3
- the third parameterpublic void debugf(Throwable t, String format, Object... params)
debugf
in interface BasicLogger
t
- the throwableformat
- the format string, as per String.format(String, Object...)
params
- the parameterspublic void debugf(Throwable t, String format, Object param1)
debugf
in interface BasicLogger
t
- the throwableformat
- the format string, as per String.format(String, Object...)
param1
- the sole parameterpublic void debugf(Throwable t, String format, Object param1, Object param2)
debugf
in interface BasicLogger
t
- the throwableformat
- the format string, as per String.format(String, Object...)
param1
- the first parameterparam2
- the second parameterpublic void debugf(Throwable t, String format, Object param1, Object param2, Object param3)
debugf
in interface BasicLogger
t
- the throwableformat
- the format string, as per String.format(String, Object...)
param1
- the first parameterparam2
- the second parameterparam3
- the third parameterpublic void debugf(String format, int arg)
BasicLogger
debugf
in interface BasicLogger
format
- the format string, as per String.format(String, Object...)
arg
- the parameterpublic void debugf(String format, int arg1, int arg2)
BasicLogger
debugf
in interface BasicLogger
format
- the format string, as per String.format(String, Object...)
arg1
- the first parameterarg2
- the second parameterpublic void debugf(String format, int arg1, Object arg2)
BasicLogger
debugf
in interface BasicLogger
format
- the format string, as per String.format(String, Object...)
arg1
- the first parameterarg2
- the second parameterpublic void debugf(String format, int arg1, int arg2, int arg3)
BasicLogger
debugf
in interface BasicLogger
format
- the format string, as per String.format(String, Object...)
arg1
- the first parameterarg2
- the second parameterarg3
- the third parameterpublic void debugf(String format, int arg1, int arg2, Object arg3)
BasicLogger
debugf
in interface BasicLogger
format
- the format string, as per String.format(String, Object...)
arg1
- the first parameterarg2
- the second parameterarg3
- the third parameterpublic void debugf(String format, int arg1, Object arg2, Object arg3)
BasicLogger
debugf
in interface BasicLogger
format
- the format string, as per String.format(String, Object...)
arg1
- the first parameterarg2
- the second parameterarg3
- the third parameterpublic void debugf(Throwable t, String format, int arg)
BasicLogger
debugf
in interface BasicLogger
t
- the throwableformat
- the format string, as per String.format(String, Object...)
arg
- the parameterpublic void debugf(Throwable t, String format, int arg1, int arg2)
BasicLogger
debugf
in interface BasicLogger
t
- the throwableformat
- the format string, as per String.format(String, Object...)
arg1
- the first parameterarg2
- the second parameterpublic void debugf(Throwable t, String format, int arg1, Object arg2)
BasicLogger
debugf
in interface BasicLogger
t
- the throwableformat
- the format string, as per String.format(String, Object...)
arg1
- the first parameterarg2
- the second parameterpublic void debugf(Throwable t, String format, int arg1, int arg2, int arg3)
BasicLogger
debugf
in interface BasicLogger
t
- the throwableformat
- the format string, as per String.format(String, Object...)
arg1
- the first parameterarg2
- the second parameterarg3
- the third parameterpublic void debugf(Throwable t, String format, int arg1, int arg2, Object arg3)
BasicLogger
debugf
in interface BasicLogger
t
- the throwableformat
- the format string, as per String.format(String, Object...)
arg1
- the first parameterarg2
- the second parameterarg3
- the third parameterpublic void debugf(Throwable t, String format, int arg1, Object arg2, Object arg3)
BasicLogger
debugf
in interface BasicLogger
t
- the throwableformat
- the format string, as per String.format(String, Object...)
arg1
- the first parameterarg2
- the second parameterarg3
- the third parameterpublic void debugf(String format, long arg)
BasicLogger
debugf
in interface BasicLogger
format
- the format string, as per String.format(String, Object...)
arg
- the parameterpublic void debugf(String format, long arg1, long arg2)
BasicLogger
debugf
in interface BasicLogger
format
- the format string, as per String.format(String, Object...)
arg1
- the first parameterarg2
- the second parameterpublic void debugf(String format, long arg1, Object arg2)
BasicLogger
debugf
in interface BasicLogger
format
- the format string, as per String.format(String, Object...)
arg1
- the first parameterarg2
- the second parameterpublic void debugf(String format, long arg1, long arg2, long arg3)
BasicLogger
debugf
in interface BasicLogger
format
- the format string, as per String.format(String, Object...)
arg1
- the first parameterarg2
- the second parameterarg3
- the third parameterpublic void debugf(String format, long arg1, long arg2, Object arg3)
BasicLogger
debugf
in interface BasicLogger
format
- the format string, as per String.format(String, Object...)
arg1
- the first parameterarg2
- the second parameterarg3
- the third parameterpublic void debugf(String format, long arg1, Object arg2, Object arg3)
BasicLogger
debugf
in interface BasicLogger
format
- the format string, as per String.format(String, Object...)
arg1
- the first parameterarg2
- the second parameterarg3
- the third parameterpublic void debugf(Throwable t, String format, long arg)
BasicLogger
debugf
in interface BasicLogger
t
- the throwableformat
- the format string, as per String.format(String, Object...)
arg
- the parameterpublic void debugf(Throwable t, String format, long arg1, long arg2)
BasicLogger
debugf
in interface BasicLogger
t
- the throwableformat
- the format string, as per String.format(String, Object...)
arg1
- the first parameterarg2
- the second parameterpublic void debugf(Throwable t, String format, long arg1, Object arg2)
BasicLogger
debugf
in interface BasicLogger
t
- the throwableformat
- the format string, as per String.format(String, Object...)
arg1
- the first parameterarg2
- the second parameterpublic void debugf(Throwable t, String format, long arg1, long arg2, long arg3)
BasicLogger
debugf
in interface BasicLogger
t
- the throwableformat
- the format string, as per String.format(String, Object...)
arg1
- the first parameterarg2
- the second parameterarg3
- the third parameterpublic void debugf(Throwable t, String format, long arg1, long arg2, Object arg3)
BasicLogger
debugf
in interface BasicLogger
t
- the throwableformat
- the format string, as per String.format(String, Object...)
arg1
- the first parameterarg2
- the second parameterarg3
- the third parameterpublic void debugf(Throwable t, String format, long arg1, Object arg2, Object arg3)
BasicLogger
debugf
in interface BasicLogger
t
- the throwableformat
- the format string, as per String.format(String, Object...)
arg1
- the first parameterarg2
- the second parameterarg3
- the third parameterpublic boolean isInfoEnabled()
INFO
level is enabled for this logger.isInfoEnabled
in interface BasicLogger
true
if messages logged at Logger.Level.INFO
may be accepted, false
otherwisepublic void info(Object message)
info
in interface BasicLogger
message
- the messagepublic void info(Object message, Throwable t)
info
in interface BasicLogger
message
- the messaget
- the throwablepublic void info(String loggerFqcn, Object message, Throwable t)
info
in interface BasicLogger
loggerFqcn
- the logger class namemessage
- the messaget
- the throwable@Deprecated public void info(Object message, Object[] params)
infov(String, Object...)
is recommended.message
- the messageparams
- the message parameters@Deprecated public void info(Object message, Object[] params, Throwable t)
infov(Throwable, String, Object...)
is recommended.message
- the messageparams
- the message parameterst
- the throwablepublic void info(String loggerFqcn, Object message, Object[] params, Throwable t)
info
in interface BasicLogger
loggerFqcn
- the logger class namemessage
- the messageparams
- the message parameterst
- the throwablepublic void infov(String format, Object... params)
MessageFormat
-style formatting.infov
in interface BasicLogger
format
- the message format stringparams
- the parameterspublic void infov(String format, Object param1)
MessageFormat
-style formatting.infov
in interface BasicLogger
format
- the message format stringparam1
- the sole parameterpublic void infov(String format, Object param1, Object param2)
MessageFormat
-style formatting.infov
in interface BasicLogger
format
- the message format stringparam1
- the first parameterparam2
- the second parameterpublic void infov(String format, Object param1, Object param2, Object param3)
MessageFormat
-style formatting.infov
in interface BasicLogger
format
- the message format stringparam1
- the first parameterparam2
- the second parameterparam3
- the third parameterpublic void infov(Throwable t, String format, Object... params)
MessageFormat
-style formatting.infov
in interface BasicLogger
t
- the throwableformat
- the message format stringparams
- the parameterspublic void infov(Throwable t, String format, Object param1)
MessageFormat
-style formatting.infov
in interface BasicLogger
t
- the throwableformat
- the message format stringparam1
- the sole parameterpublic void infov(Throwable t, String format, Object param1, Object param2)
MessageFormat
-style formatting.infov
in interface BasicLogger
t
- the throwableformat
- the message format stringparam1
- the first parameterparam2
- the second parameterpublic void infov(Throwable t, String format, Object param1, Object param2, Object param3)
MessageFormat
-style formatting.infov
in interface BasicLogger
t
- the throwableformat
- the message format stringparam1
- the first parameterparam2
- the second parameterparam3
- the third parameterpublic void infof(String format, Object... params)
infof
in interface BasicLogger
format
- the format string as per String.format(String, Object...)
or resource bundle key thereforparams
- the parameterspublic void infof(String format, Object param1)
infof
in interface BasicLogger
format
- the format string as per String.format(String, Object...)
or resource bundle key thereforparam1
- the sole parameterpublic void infof(String format, Object param1, Object param2)
infof
in interface BasicLogger
format
- the format string as per String.format(String, Object...)
or resource bundle key thereforparam1
- the first parameterparam2
- the second parameterpublic void infof(String format, Object param1, Object param2, Object param3)
infof
in interface BasicLogger
format
- the format string as per String.format(String, Object...)
or resource bundle key thereforparam1
- the first parameterparam2
- the second parameterparam3
- the third parameterpublic void infof(Throwable t, String format, Object... params)
infof
in interface BasicLogger
t
- the throwableformat
- the format string, as per String.format(String, Object...)
params
- the parameterspublic void infof(Throwable t, String format, Object param1)
infof
in interface BasicLogger
t
- the throwableformat
- the format string, as per String.format(String, Object...)
param1
- the sole parameterpublic void infof(Throwable t, String format, Object param1, Object param2)
infof
in interface BasicLogger
t
- the throwableformat
- the format string, as per String.format(String, Object...)
param1
- the first parameterparam2
- the second parameterpublic void infof(Throwable t, String format, Object param1, Object param2, Object param3)
infof
in interface BasicLogger
t
- the throwableformat
- the format string, as per String.format(String, Object...)
param1
- the first parameterparam2
- the second parameterparam3
- the third parameterpublic void warn(Object message)
warn
in interface BasicLogger
message
- the messagepublic void warn(Object message, Throwable t)
warn
in interface BasicLogger
message
- the messaget
- the throwablepublic void warn(String loggerFqcn, Object message, Throwable t)
warn
in interface BasicLogger
loggerFqcn
- the logger class namemessage
- the messaget
- the throwable@Deprecated public void warn(Object message, Object[] params)
warnv(String, Object...)
is recommended.message
- the messageparams
- the message parameters@Deprecated public void warn(Object message, Object[] params, Throwable t)
warnv(Throwable, String, Object...)
is recommended.message
- the messageparams
- the message parameterst
- the throwablepublic void warn(String loggerFqcn, Object message, Object[] params, Throwable t)
warn
in interface BasicLogger
loggerFqcn
- the logger class namemessage
- the messageparams
- the message parameterst
- the throwablepublic void warnv(String format, Object... params)
MessageFormat
-style formatting.warnv
in interface BasicLogger
format
- the message format stringparams
- the parameterspublic void warnv(String format, Object param1)
MessageFormat
-style formatting.warnv
in interface BasicLogger
format
- the message format stringparam1
- the sole parameterpublic void warnv(String format, Object param1, Object param2)
MessageFormat
-style formatting.warnv
in interface BasicLogger
format
- the message format stringparam1
- the first parameterparam2
- the second parameterpublic void warnv(String format, Object param1, Object param2, Object param3)
MessageFormat
-style formatting.warnv
in interface BasicLogger
format
- the message format stringparam1
- the first parameterparam2
- the second parameterparam3
- the third parameterpublic void warnv(Throwable t, String format, Object... params)
MessageFormat
-style formatting.warnv
in interface BasicLogger
t
- the throwableformat
- the message format stringparams
- the parameterspublic void warnv(Throwable t, String format, Object param1)
MessageFormat
-style formatting.warnv
in interface BasicLogger
t
- the throwableformat
- the message format stringparam1
- the sole parameterpublic void warnv(Throwable t, String format, Object param1, Object param2)
MessageFormat
-style formatting.warnv
in interface BasicLogger
t
- the throwableformat
- the message format stringparam1
- the first parameterparam2
- the second parameterpublic void warnv(Throwable t, String format, Object param1, Object param2, Object param3)
MessageFormat
-style formatting.warnv
in interface BasicLogger
t
- the throwableformat
- the message format stringparam1
- the first parameterparam2
- the second parameterparam3
- the third parameterpublic void warnf(String format, Object... params)
warnf
in interface BasicLogger
format
- the format string as per String.format(String, Object...)
or resource bundle key thereforparams
- the parameterspublic void warnf(String format, Object param1)
warnf
in interface BasicLogger
format
- the format string as per String.format(String, Object...)
or resource bundle key thereforparam1
- the sole parameterpublic void warnf(String format, Object param1, Object param2)
warnf
in interface BasicLogger
format
- the format string as per String.format(String, Object...)
or resource bundle key thereforparam1
- the first parameterparam2
- the second parameterpublic void warnf(String format, Object param1, Object param2, Object param3)
warnf
in interface BasicLogger
format
- the format string as per String.format(String, Object...)
or resource bundle key thereforparam1
- the first parameterparam2
- the second parameterparam3
- the third parameterpublic void warnf(Throwable t, String format, Object... params)
warnf
in interface BasicLogger
t
- the throwableformat
- the format string, as per String.format(String, Object...)
params
- the parameterspublic void warnf(Throwable t, String format, Object param1)
warnf
in interface BasicLogger
t
- the throwableformat
- the format string, as per String.format(String, Object...)
param1
- the sole parameterpublic void warnf(Throwable t, String format, Object param1, Object param2)
warnf
in interface BasicLogger
t
- the throwableformat
- the format string, as per String.format(String, Object...)
param1
- the first parameterparam2
- the second parameterpublic void warnf(Throwable t, String format, Object param1, Object param2, Object param3)
warnf
in interface BasicLogger
t
- the throwableformat
- the format string, as per String.format(String, Object...)
param1
- the first parameterparam2
- the second parameterparam3
- the third parameterpublic void error(Object message)
error
in interface BasicLogger
message
- the messagepublic void error(Object message, Throwable t)
error
in interface BasicLogger
message
- the messaget
- the throwablepublic void error(String loggerFqcn, Object message, Throwable t)
error
in interface BasicLogger
loggerFqcn
- the logger class namemessage
- the messaget
- the throwable@Deprecated public void error(Object message, Object[] params)
errorv(String, Object...)
is recommended.message
- the messageparams
- the message parameters@Deprecated public void error(Object message, Object[] params, Throwable t)
errorv(Throwable, String, Object...)
is recommended.message
- the messageparams
- the message parameterst
- the throwablepublic void error(String loggerFqcn, Object message, Object[] params, Throwable t)
error
in interface BasicLogger
loggerFqcn
- the logger class namemessage
- the messageparams
- the message parameterst
- the throwablepublic void errorv(String format, Object... params)
MessageFormat
-style formatting.errorv
in interface BasicLogger
format
- the message format stringparams
- the parameterspublic void errorv(String format, Object param1)
MessageFormat
-style formatting.errorv
in interface BasicLogger
format
- the message format stringparam1
- the sole parameterpublic void errorv(String format, Object param1, Object param2)
MessageFormat
-style formatting.errorv
in interface BasicLogger
format
- the message format stringparam1
- the first parameterparam2
- the second parameterpublic void errorv(String format, Object param1, Object param2, Object param3)
MessageFormat
-style formatting.errorv
in interface BasicLogger
format
- the message format stringparam1
- the first parameterparam2
- the second parameterparam3
- the third parameterpublic void errorv(Throwable t, String format, Object... params)
MessageFormat
-style formatting.errorv
in interface BasicLogger
t
- the throwableformat
- the message format stringparams
- the parameterspublic void errorv(Throwable t, String format, Object param1)
MessageFormat
-style formatting.errorv
in interface BasicLogger
t
- the throwableformat
- the message format stringparam1
- the sole parameterpublic void errorv(Throwable t, String format, Object param1, Object param2)
MessageFormat
-style formatting.errorv
in interface BasicLogger
t
- the throwableformat
- the message format stringparam1
- the first parameterparam2
- the second parameterpublic void errorv(Throwable t, String format, Object param1, Object param2, Object param3)
MessageFormat
-style formatting.errorv
in interface BasicLogger
t
- the throwableformat
- the message format stringparam1
- the first parameterparam2
- the second parameterparam3
- the third parameterpublic void errorf(String format, Object... params)
errorf
in interface BasicLogger
format
- the format string as per String.format(String, Object...)
or resource bundle key thereforparams
- the parameterspublic void errorf(String format, Object param1)
errorf
in interface BasicLogger
format
- the format string as per String.format(String, Object...)
or resource bundle key thereforparam1
- the sole parameterpublic void errorf(String format, Object param1, Object param2)
errorf
in interface BasicLogger
format
- the format string as per String.format(String, Object...)
or resource bundle key thereforparam1
- the first parameterparam2
- the second parameterpublic void errorf(String format, Object param1, Object param2, Object param3)
errorf
in interface BasicLogger
format
- the format string as per String.format(String, Object...)
or resource bundle key thereforparam1
- the first parameterparam2
- the second parameterparam3
- the third parameterpublic void errorf(Throwable t, String format, Object... params)
errorf
in interface BasicLogger
t
- the throwableformat
- the format string, as per String.format(String, Object...)
params
- the parameterspublic void errorf(Throwable t, String format, Object param1)
errorf
in interface BasicLogger
t
- the throwableformat
- the format string, as per String.format(String, Object...)
param1
- the sole parameterpublic void errorf(Throwable t, String format, Object param1, Object param2)
errorf
in interface BasicLogger
t
- the throwableformat
- the format string, as per String.format(String, Object...)
param1
- the first parameterparam2
- the second parameterpublic void errorf(Throwable t, String format, Object param1, Object param2, Object param3)
errorf
in interface BasicLogger
t
- the throwableformat
- the format string, as per String.format(String, Object...)
param1
- the first parameterparam2
- the second parameterparam3
- the third parameterpublic void fatal(Object message)
fatal
in interface BasicLogger
message
- the messagepublic void fatal(Object message, Throwable t)
fatal
in interface BasicLogger
message
- the messaget
- the throwablepublic void fatal(String loggerFqcn, Object message, Throwable t)
fatal
in interface BasicLogger
loggerFqcn
- the logger class namemessage
- the messaget
- the throwable@Deprecated public void fatal(Object message, Object[] params)
fatalv(String, Object...)
is recommended.message
- the messageparams
- the message parameters@Deprecated public void fatal(Object message, Object[] params, Throwable t)
fatalv(Throwable, String, Object...)
is recommended.message
- the messageparams
- the message parameterst
- the throwablepublic void fatal(String loggerFqcn, Object message, Object[] params, Throwable t)
fatal
in interface BasicLogger
loggerFqcn
- the logger class namemessage
- the messageparams
- the message parameterst
- the throwablepublic void fatalv(String format, Object... params)
MessageFormat
-style formatting.fatalv
in interface BasicLogger
format
- the message format stringparams
- the parameterspublic void fatalv(String format, Object param1)
MessageFormat
-style formatting.fatalv
in interface BasicLogger
format
- the message format stringparam1
- the sole parameterpublic void fatalv(String format, Object param1, Object param2)
MessageFormat
-style formatting.fatalv
in interface BasicLogger
format
- the message format stringparam1
- the first parameterparam2
- the second parameterpublic void fatalv(String format, Object param1, Object param2, Object param3)
MessageFormat
-style formatting.fatalv
in interface BasicLogger
format
- the message format stringparam1
- the first parameterparam2
- the second parameterparam3
- the third parameterpublic void fatalv(Throwable t, String format, Object... params)
MessageFormat
-style formatting.fatalv
in interface BasicLogger
t
- the throwableformat
- the message format stringparams
- the parameterspublic void fatalv(Throwable t, String format, Object param1)
MessageFormat
-style formatting.fatalv
in interface BasicLogger
t
- the throwableformat
- the message format stringparam1
- the sole parameterpublic void fatalv(Throwable t, String format, Object param1, Object param2)
MessageFormat
-style formatting.fatalv
in interface BasicLogger
t
- the throwableformat
- the message format stringparam1
- the first parameterparam2
- the second parameterpublic void fatalv(Throwable t, String format, Object param1, Object param2, Object param3)
MessageFormat
-style formatting.fatalv
in interface BasicLogger
t
- the throwableformat
- the message format stringparam1
- the first parameterparam2
- the second parameterparam3
- the third parameterpublic void fatalf(String format, Object... params)
fatalf
in interface BasicLogger
format
- the format string as per String.format(String, Object...)
or resource bundle key thereforparams
- the parameterspublic void fatalf(String format, Object param1)
fatalf
in interface BasicLogger
format
- the format string as per String.format(String, Object...)
or resource bundle key thereforparam1
- the sole parameterpublic void fatalf(String format, Object param1, Object param2)
fatalf
in interface BasicLogger
format
- the format string as per String.format(String, Object...)
or resource bundle key thereforparam1
- the first parameterparam2
- the second parameterpublic void fatalf(String format, Object param1, Object param2, Object param3)
fatalf
in interface BasicLogger
format
- the format string as per String.format(String, Object...)
or resource bundle key thereforparam1
- the first parameterparam2
- the second parameterparam3
- the third parameterpublic void fatalf(Throwable t, String format, Object... params)
fatalf
in interface BasicLogger
t
- the throwableformat
- the format string, as per String.format(String, Object...)
params
- the parameterspublic void fatalf(Throwable t, String format, Object param1)
fatalf
in interface BasicLogger
t
- the throwableformat
- the format string, as per String.format(String, Object...)
param1
- the sole parameterpublic void fatalf(Throwable t, String format, Object param1, Object param2)
fatalf
in interface BasicLogger
t
- the throwableformat
- the format string, as per String.format(String, Object...)
param1
- the first parameterparam2
- the second parameterpublic void fatalf(Throwable t, String format, Object param1, Object param2, Object param3)
fatalf
in interface BasicLogger
t
- the throwableformat
- the format string, as per String.format(String, Object...)
param1
- the first parameterparam2
- the second parameterparam3
- the third parameterpublic void log(Logger.Level level, Object message)
log
in interface BasicLogger
level
- the levelmessage
- the messagepublic void log(Logger.Level level, Object message, Throwable t)
log
in interface BasicLogger
level
- the levelmessage
- the messaget
- the throwablepublic void log(Logger.Level level, String loggerFqcn, Object message, Throwable t)
log
in interface BasicLogger
level
- the levelloggerFqcn
- the logger class namemessage
- the messaget
- the throwable@Deprecated public void log(Logger.Level level, Object message, Object[] params)
logv(Level, String, Object...)
is recommended.level
- the levelmessage
- the messageparams
- the message parameters@Deprecated public void log(Logger.Level level, Object message, Object[] params, Throwable t)
logv(Level, Throwable, String, Object...)
is recommended.level
- the levelmessage
- the messageparams
- the message parameterst
- the throwablepublic void log(String loggerFqcn, Logger.Level level, Object message, Object[] params, Throwable t)
log
in interface BasicLogger
loggerFqcn
- the logger class namelevel
- the levelmessage
- the messageparams
- the message parameterst
- the throwablepublic void logv(Logger.Level level, String format, Object... params)
MessageFormat
-style formatting.logv
in interface BasicLogger
level
- the levelformat
- the message format stringparams
- the parameterspublic void logv(Logger.Level level, String format, Object param1)
MessageFormat
-style formatting.logv
in interface BasicLogger
level
- the levelformat
- the message format stringparam1
- the sole parameterpublic void logv(Logger.Level level, String format, Object param1, Object param2)
MessageFormat
-style formatting.logv
in interface BasicLogger
level
- the levelformat
- the message format stringparam1
- the first parameterparam2
- the second parameterpublic void logv(Logger.Level level, String format, Object param1, Object param2, Object param3)
MessageFormat
-style formatting.logv
in interface BasicLogger
level
- the levelformat
- the message format stringparam1
- the first parameterparam2
- the second parameterparam3
- the third parameterpublic void logv(Logger.Level level, Throwable t, String format, Object... params)
MessageFormat
-style formatting.logv
in interface BasicLogger
level
- the levelt
- the throwableformat
- the message format stringparams
- the parameterspublic void logv(Logger.Level level, Throwable t, String format, Object param1)
MessageFormat
-style formatting.logv
in interface BasicLogger
level
- the levelt
- the throwableformat
- the message format stringparam1
- the sole parameterpublic void logv(Logger.Level level, Throwable t, String format, Object param1, Object param2)
MessageFormat
-style formatting.logv
in interface BasicLogger
level
- the levelt
- the throwableformat
- the message format stringparam1
- the first parameterparam2
- the second parameterpublic void logv(Logger.Level level, Throwable t, String format, Object param1, Object param2, Object param3)
MessageFormat
-style formatting.logv
in interface BasicLogger
level
- the levelt
- the throwableformat
- the message format stringparam1
- the first parameterparam2
- the second parameterparam3
- the third parameterpublic void logv(String loggerFqcn, Logger.Level level, Throwable t, String format, Object... params)
MessageFormat
-style formatting.logv
in interface BasicLogger
loggerFqcn
- the logger class namelevel
- the levelt
- the throwableformat
- the message format stringparams
- the parameterspublic void logv(String loggerFqcn, Logger.Level level, Throwable t, String format, Object param1)
MessageFormat
-style formatting.logv
in interface BasicLogger
loggerFqcn
- the logger class namelevel
- the levelt
- the throwableformat
- the message format stringparam1
- the sole parameterpublic void logv(String loggerFqcn, Logger.Level level, Throwable t, String format, Object param1, Object param2)
MessageFormat
-style formatting.logv
in interface BasicLogger
loggerFqcn
- the logger class namelevel
- the levelt
- the throwableformat
- the message format stringparam1
- the first parameterparam2
- the second parameterpublic void logv(String loggerFqcn, Logger.Level level, Throwable t, String format, Object param1, Object param2, Object param3)
MessageFormat
-style formatting.logv
in interface BasicLogger
loggerFqcn
- the logger class namelevel
- the levelt
- the throwableformat
- the message format stringparam1
- the first parameterparam2
- the second parameterparam3
- the third parameterpublic void logf(Logger.Level level, String format, Object... params)
logf
in interface BasicLogger
level
- the levelformat
- the format string as per String.format(String, Object...)
or resource bundle key thereforparams
- the parameterspublic void logf(Logger.Level level, String format, Object param1)
logf
in interface BasicLogger
level
- the levelformat
- the format string as per String.format(String, Object...)
or resource bundle key thereforparam1
- the sole parameterpublic void logf(Logger.Level level, String format, Object param1, Object param2)
logf
in interface BasicLogger
level
- the levelformat
- the format string as per String.format(String, Object...)
or resource bundle key thereforparam1
- the first parameterparam2
- the second parameterpublic void logf(Logger.Level level, String format, Object param1, Object param2, Object param3)
logf
in interface BasicLogger
level
- the levelformat
- the format string as per String.format(String, Object...)
or resource bundle key thereforparam1
- the first parameterparam2
- the second parameterparam3
- the third parameterpublic void logf(Logger.Level level, Throwable t, String format, Object... params)
logf
in interface BasicLogger
level
- the levelt
- the throwableformat
- the format string, as per String.format(String, Object...)
params
- the parameterspublic void logf(Logger.Level level, Throwable t, String format, Object param1)
logf
in interface BasicLogger
level
- the levelt
- the throwableformat
- the format string, as per String.format(String, Object...)
param1
- the sole parameterpublic void logf(Logger.Level level, Throwable t, String format, Object param1, Object param2)
logf
in interface BasicLogger
level
- the levelt
- the throwableformat
- the format string, as per String.format(String, Object...)
param1
- the first parameterparam2
- the second parameterpublic void logf(Logger.Level level, Throwable t, String format, Object param1, Object param2, Object param3)
logf
in interface BasicLogger
level
- the levelt
- the throwableformat
- the format string, as per String.format(String, Object...)
param1
- the first parameterparam2
- the second parameterparam3
- the third parameterpublic void logf(String loggerFqcn, Logger.Level level, Throwable t, String format, Object param1)
logf
in interface BasicLogger
loggerFqcn
- the logger class namelevel
- the levelt
- the throwable causeformat
- the format string as per String.format(String, Object...)
or resource bundle key thereforparam1
- the sole parameterpublic void logf(String loggerFqcn, Logger.Level level, Throwable t, String format, Object param1, Object param2)
logf
in interface BasicLogger
loggerFqcn
- the logger class namelevel
- the levelt
- the throwable causeformat
- the format string as per String.format(String, Object...)
or resource bundle key thereforparam1
- the first parameterparam2
- the second parameterpublic void logf(String loggerFqcn, Logger.Level level, Throwable t, String format, Object param1, Object param2, Object param3)
logf
in interface BasicLogger
loggerFqcn
- the logger class namelevel
- the levelt
- the throwable causeformat
- the format string as per String.format(String, Object...)
or resource bundle key thereforparam1
- the first parameterparam2
- the second parameterparam3
- the third parameterpublic void logf(String loggerFqcn, Logger.Level level, Throwable t, String format, Object... params)
logf
in interface BasicLogger
loggerFqcn
- the logger class namelevel
- the levelt
- the throwable causeformat
- the format string as per String.format(String, Object...)
or resource bundle key thereforparams
- the message parametersprotected final Object writeReplace()
public static Logger getLogger(String name)
name
- the logger namepublic static Logger getLogger(String name, String suffix)
This will include a logger separator between logger name and suffix.
name
- the logger namesuffix
- a suffix to append to the logger namepublic static Logger getLogger(Class<?> clazz)
clazz
- the Class whose name will be used as the logger namepublic static Logger getLogger(Class<?> clazz, String suffix)
This will include a logger separator between logger name and suffix
clazz
- the Class whose name will be used as the logger namesuffix
- a suffix to append to the logger namepublic static <T> T getMessageLogger(Class<T> type, String category)
T
- the logger typetype
- the interface to implementcategory
- the logger categorypublic static <T> T getMessageLogger(Class<T> type, String category, Locale locale)
T
- the logger typetype
- the interface to implementcategory
- the logger categorylocale
- the locale for the new loggerCopyright © 2019 JBoss by Red Hat. All rights reserved.