public interface Logger extends ExtensibleObject, AutoCloseable
LogService
, normally through Scope.getLog(Class)
).Modifier and Type | Method and Description |
---|---|
default void |
close() |
void |
config(String message)
Logs configuration information.
|
void |
config(String message,
Throwable e)
Logs configuration information together with data from an error/exception.
|
void |
debug(String message)
Deprecated.
use
fine(String) |
void |
debug(String message,
Throwable e)
Deprecated.
|
void |
fine(String message)
Logs a debugging event to aid in troubleshooting.
|
void |
fine(String message,
Throwable e)
Logs a debugging event to aid in troubleshooting together with data from an error/exception.
|
void |
info(String message)
Logs a general event that might be useful for the user.
|
void |
info(String message,
Throwable e)
Logs a general event that might be useful for the user together with data from an error/exception.
|
void |
log(Level level,
String message,
Throwable e)
Generic log method that can log at any log level
|
void |
severe(String message)
Log that a severe error that occurred.
|
void |
severe(String message,
Throwable e)
Log an error together with data from an error/exception.
|
void |
warning(String message)
Log a event the user should be warned about.
|
void |
warning(String message,
Throwable e)
Log a event the user should be warned about together with data from an error/exception.
|
clone, describe, get, get, getAttributes, getObjectMetaData, getValuePath, has, set
default void close() throws Exception
close
in interface AutoCloseable
Exception
void log(Level level, String message, Throwable e)
void severe(String message)
void severe(String message, Throwable e)
void warning(String message)
void warning(String message, Throwable e)
void info(String message)
void info(String message, Throwable e)
void config(String message)
void config(String message, Throwable e)
void fine(String message)
void fine(String message, Throwable e)
void debug(String message)
fine(String)
void debug(String message, Throwable e)
fine(String, Throwable)
Copyright © 2023 Liquibase.org. All rights reserved.