| Modifier and Type | Method and Description |
|---|---|
static Logger |
customLogger(String name)
Returns a
Logger with the specified name. |
static void |
debug(CharSequence message)
Logs a message at the
DEBUG level, using the root logger. |
static void |
debug(CharSequence message,
Object... params)
Logs a message with parameters at the
DEBUG level, using the root logger. |
static void |
debug(Throwable e)
|
static void |
debug(Throwable e,
CharSequence message)
|
static void |
debug(Throwable e,
CharSequence message,
Object... params)
|
static void |
error(CharSequence message)
Logs a message at the
ERROR level, using the root logger. |
static void |
error(CharSequence message,
Object... params)
Logs a message with parameters at the
ERROR level, using the root logger. |
static void |
error(Throwable e)
|
static void |
error(Throwable e,
CharSequence message)
|
static void |
error(Throwable e,
CharSequence message,
Object... params)
|
static void |
fatal(CharSequence message)
Logs a message at the
FATAL level, using the root logger. |
static void |
fatal(CharSequence message,
Object... params)
Logs a message with parameters at the
FATAL level, using the root logger. |
static void |
fatal(Throwable e)
|
static void |
fatal(Throwable e,
CharSequence message)
|
static void |
fatal(Throwable e,
CharSequence message,
Object... params)
|
static void |
info(CharSequence message)
Logs a message at the
INFO level, using the root logger. |
static void |
info(CharSequence message,
Object... params)
Logs a message with parameters at the
INFO level, using the root logger. |
static void |
info(Throwable e)
|
static void |
info(Throwable e,
CharSequence message)
|
static void |
info(Throwable e,
CharSequence message,
Object... params)
|
static void |
log(Level level,
CharSequence message)
Logs a message at the given
level, using the root logger. |
static void |
log(Level level,
CharSequence message,
Object... params)
Logs a message with parameters at the given
level, using the root logger. |
static void |
log(Level level,
Throwable e)
Logs the stack trace of the given
Throwable at the given level, using the root logger. |
static void |
log(Level level,
Throwable e,
CharSequence message)
Logs a message at the given
level including the stack trace of the given Throwable, using the
root logger. |
static void |
log(Level level,
Throwable e,
CharSequence message,
Object... params)
Logs a message with parameters at the given
level including the stack trace of the given Throwable, using the root logger. |
static Logger |
rootLogger()
Returns the root
Logger. |
static void |
trace(CharSequence message)
Logs a message at the
TRACE level, using the root logger. |
static void |
trace(CharSequence message,
Object... params)
Logs a message with parameters at the
TRACE level, using the root logger. |
static void |
trace(Throwable e)
|
static void |
trace(Throwable e,
CharSequence message)
|
static void |
trace(Throwable e,
CharSequence message,
Object... params)
|
static void |
warn(CharSequence message)
Logs a message at the
WARN level, using the root logger. |
static void |
warn(CharSequence message,
Object... params)
Logs a message with parameters at the
WARN level, using the root logger. |
static void |
warn(Throwable e)
|
static void |
warn(Throwable e,
CharSequence message)
|
static void |
warn(Throwable e,
CharSequence message,
Object... params)
|
public static Logger rootLogger()
Logger.Logger, named ""customLogger(String)public static Logger customLogger(String name)
Logger with the specified name.name - the logger nameLoggerpublic static void trace(CharSequence message)
TRACE level, using the root logger.message - the message to logrootLogger(),
Logger.trace(CharSequence)public static void trace(CharSequence message, Object... params)
TRACE level, using the root logger.message - the message to log; the format depends on the MessageFormatparams - parameters to the messagerootLogger(),
Logger.trace(CharSequence, Object...)public static void trace(Throwable e)
e - the exception to log, including its stack tracerootLogger(),
Logger.trace(Throwable)public static void trace(Throwable e, CharSequence message)
TRACE level including the stack trace of the given Throwable,
using the root logger.e - the exception to log, including its stack tracemessage - the message to logrootLogger(),
Logger.trace(Throwable, CharSequence)public static void trace(Throwable e, CharSequence message, Object... params)
TRACE level including the stack trace of the given
Throwable, using the root logger.e - the exception to log, including its stack tracemessage - the message to log; the format depends on the MessageFormatparams - parameters to the messagerootLogger(),
Logger.trace(Throwable, CharSequence, Object...)public static void debug(CharSequence message)
DEBUG level, using the root logger.message - the message to logrootLogger(),
Logger.debug(CharSequence)public static void debug(CharSequence message, Object... params)
DEBUG level, using the root logger.message - the message to log; the format depends on the MessageFormatparams - parameters to the messagerootLogger(),
Logger.debug(CharSequence, Object...)public static void debug(Throwable e)
e - the exception to log, including its stack tracerootLogger(),
Logger.debug(Throwable)public static void debug(Throwable e, CharSequence message)
DEBUG level including the stack trace of the given Throwable,
using the root logger.e - the exception to log, including its stack tracemessage - the message to logrootLogger(),
Logger.debug(Throwable, CharSequence)public static void debug(Throwable e, CharSequence message, Object... params)
DEBUG level including the stack trace of the given
Throwable, using the root logger.e - the exception to log, including its stack tracemessage - the message to log; the format depends on the MessageFormatparams - parameters to the messagerootLogger(),
Logger.debug(Throwable, CharSequence, Object...)public static void info(CharSequence message)
INFO level, using the root logger.message - the message to logrootLogger(),
Logger.info(CharSequence)public static void info(CharSequence message, Object... params)
INFO level, using the root logger.message - the message to log; the format depends on the MessageFormatparams - parameters to the messagerootLogger(),
Logger.info(CharSequence, Object...)public static void info(Throwable e)
e - the exception to log, including its stack tracerootLogger(),
Logger.info(Throwable)public static void info(Throwable e, CharSequence message)
INFO level including the stack trace of the given Throwable,
using the root logger.e - the exception to log, including its stack tracemessage - the message to logrootLogger(),
Logger.info(Throwable, CharSequence)public static void info(Throwable e, CharSequence message, Object... params)
INFO level including the stack trace of the given
Throwable, using the root logger.e - the exception to log, including its stack tracemessage - the message to log; the format depends on the MessageFormatparams - parameters to the messagerootLogger(),
Logger.info(Throwable, CharSequence, Object...)public static void warn(CharSequence message)
WARN level, using the root logger.message - the message to logrootLogger(),
Logger.warn(CharSequence)public static void warn(CharSequence message, Object... params)
WARN level, using the root logger.message - the message to log; the format depends on the MessageFormatparams - parameters to the messagerootLogger(),
Logger.warn(CharSequence, Object...)public static void warn(Throwable e)
e - the exception to log, including its stack tracerootLogger(),
Logger.warn(Throwable)public static void warn(Throwable e, CharSequence message)
WARN level including the stack trace of the given Throwable,
using the root logger.e - the exception to log, including its stack tracemessage - the message to logrootLogger(),
Logger.warn(Throwable, CharSequence)public static void warn(Throwable e, CharSequence message, Object... params)
WARN level including the stack trace of the given
Throwable, using the root logger.e - the exception to log, including its stack tracemessage - the message to log; the format depends on the MessageFormatparams - parameters to the messagerootLogger(),
Logger.warn(Throwable, CharSequence, Object...)public static void error(CharSequence message)
ERROR level, using the root logger.message - the message to logrootLogger(),
Logger.error(CharSequence)public static void error(CharSequence message, Object... params)
ERROR level, using the root logger.message - the message to log; the format depends on the MessageFormatparams - parameters to the messagerootLogger(),
Logger.error(CharSequence, Object...)public static void error(Throwable e)
e - the exception to log, including its stack tracerootLogger(),
Logger.error(Throwable)public static void error(Throwable e, CharSequence message)
ERROR level including the stack trace of the given Throwable,
using the root logger.e - the exception to log, including its stack tracemessage - the message to logrootLogger(),
Logger.error(Throwable, CharSequence)public static void error(Throwable e, CharSequence message, Object... params)
ERROR level including the stack trace of the given
Throwable, using the root logger.e - the exception to log, including its stack tracemessage - the message to log; the format depends on the MessageFormatparams - parameters to the messagerootLogger(),
Logger.error(Throwable, CharSequence, Object...)public static void fatal(CharSequence message)
FATAL level, using the root logger.message - the message to logrootLogger(),
Logger.fatal(CharSequence)public static void fatal(CharSequence message, Object... params)
FATAL level, using the root logger.message - the message to log; the format depends on the MessageFormatparams - parameters to the messagerootLogger(),
Logger.fatal(CharSequence, Object...)public static void fatal(Throwable e)
e - the exception to log, including its stack tracerootLogger(),
Logger.fatal(Throwable)public static void fatal(Throwable e, CharSequence message)
FATAL level including the stack trace of the given Throwable,
using the root logger.e - the exception to log, including its stack tracemessage - the message to logrootLogger(),
Logger.fatal(Throwable, CharSequence)public static void fatal(Throwable e, CharSequence message, Object... params)
FATAL level including the stack trace of the given
Throwable, using the root logger.e - the exception to log, including its stack tracemessage - the message to log; the format depends on the MessageFormatparams - parameters to the messagerootLogger(),
Logger.fatal(Throwable, CharSequence, Object...)public static void log(Level level, CharSequence message)
level, using the root logger.level - the logging levelmessage - the message to logrootLogger(),
Logger.log(Level, CharSequence)public static void log(Level level, CharSequence message, Object... params)
level, using the root logger.level - the logging levelmessage - the message to log; the format depends on the MessageFormatparams - parameters to the messagerootLogger(),
Logger.log(Level, CharSequence, Object...)public static void log(Level level, Throwable e)
Throwable at the given level, using the root logger.level - the logging levele - the exception to log, including its stack tracerootLogger(),
Logger.log(Level, Throwable)public static void log(Level level, Throwable e, CharSequence message)
level including the stack trace of the given Throwable, using the
root logger.level - the logging levele - the exception to log, including its stack tracemessage - the message to logrootLogger(),
Logger.log(Level, Throwable, CharSequence)public static void log(Level level, Throwable e, CharSequence message, Object... params)
level including the stack trace of the given Throwable, using the root logger.level - the logging levele - the exception to log, including its stack tracemessage - the message to log; the format depends on the MessageFormatparams - parameters to the messagerootLogger(),
Logger.log(Level, Throwable, CharSequence, Object...)Copyright © 2013–2017 Atlanmod INRIA LINA Mines Nantes. All rights reserved.