public interface Logger
LoggerFactory
to know the class to log against.
All log methods take a LogType
to describe the type of message being logged.
The hierarchy of log levels is:
(finest) DEBUG < INFO < WARN < ERROR (coarsest)Modifier and Type | Method and Description |
---|---|
void |
debug(LogType target,
String message)
Logs a debugging event to aid in troubleshooting
|
void |
debug(LogType target,
String message,
Throwable e)
Logs a debugging event to aid in troubleshooting together with data from an error/exception
|
void |
debug(String message)
Logs a debugging event to aid in troubleshooting, using the
LogType.LOG type. |
void |
debug(String message,
Throwable e)
Logs a debugging event to aid in troubleshooting together with data from an error/exception, using the
LogType.LOG type. |
void |
info(LogType logType,
String message)
Logs a general event that might be useful for the user.
|
void |
info(LogType target,
String message,
Throwable e)
Logs a general event that might be useful for the user together with data from an error/exception
|
void |
info(String message)
Logs a general event that might be useful for the user, using the
LogType.LOG type. |
void |
info(String message,
Throwable e)
Logs a general event that might be useful for the user together with data from an error/exception, using the
LogType.LOG type. |
void |
severe(LogType target,
String message)
Log an error that occurred.
|
void |
severe(LogType target,
String message,
Throwable e)
Log an error together with data from an error/exception
|
void |
severe(String message)
Log an error that occurred, using the
LogType.LOG type. |
void |
severe(String message,
Throwable e)
Log an error together with data from an error/exception, using the
LogType.LOG type. |
void |
warning(LogType target,
String message)
Log a event the user should be warned about
|
void |
warning(LogType target,
String message,
Throwable e)
Log a event the user should be warned about together with data from an error/exception
|
void |
warning(String message)
Log a event the user should be warned about, using the
LogType.LOG type. |
void |
warning(String message,
Throwable e)
Log a event the user should be warned about together with data from an error/exception, using the
LogType.LOG type. |
void severe(String message)
LogType.LOG
type.void severe(String message, Throwable e)
LogType.LOG
type.void severe(LogType target, String message, Throwable e)
void warning(String message)
LogType.LOG
type.void warning(String message, Throwable e)
LogType.LOG
type.void warning(LogType target, String message, Throwable e)
void info(String message)
LogType.LOG
type.void info(String message, Throwable e)
LogType.LOG
type.void info(LogType logType, String message)
void info(LogType target, String message, Throwable e)
void debug(String message)
LogType.LOG
type.void debug(String message, Throwable e)
LogType.LOG
type.Copyright © 2019 Liquibase.org. All rights reserved.