Package liquibase.logging
Interface LogService
-
- All Superinterfaces:
Plugin
- All Known Implementing Classes:
AbstractLogService
,AntTaskLogService
,BufferedLogService
,CompositeLogService
,JavaLogService
,MavenLogService
,NoOpLogService
public interface LogService extends Plugin
This service is used to create namedLogger
instances through aLogService
.The default LoggerFactory used in
JavaLogService
usesLogger
-
-
Field Summary
-
Fields inherited from interface liquibase.plugin.Plugin
PRIORITY_DATABASE, PRIORITY_DEFAULT, PRIORITY_NOT_APPLICABLE, PRIORITY_SPECIALIZED
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
Closes the current log output file(s) or any other resources used by this LoggerFactory and its Loggers.LogMessageFilter
getFilter()
Logger
getLog(Class clazz)
Creates a logger for logging from the given class.int
getPriority()
void
setFilter(LogMessageFilter filter)
Sets the filter to use for messages sent through this log service.
-
-
-
Method Detail
-
getPriority
int getPriority()
-
getLog
Logger getLog(Class clazz)
Creates a logger for logging from the given class. Unlike most logging systems, there is no exposed getLog(String) method in order to provide more consistency in how logs are named.
-
close
void close()
Closes the current log output file(s) or any other resources used by this LoggerFactory and its Loggers.
-
getFilter
LogMessageFilter getFilter()
-
setFilter
void setFilter(LogMessageFilter filter)
Sets the filter to use for messages sent through this log service.
-
-