Package liquibase.logging
Interface LogService
- All Superinterfaces:
Plugin
- All Known Implementing Classes:
AbstractLogService
,AntTaskLogService
,BufferedLogService
,CompositeLogService
,JavaLogService
,MavenLogService
,NoOpLogService
This service is used to create named
Logger
instances through a LogService
.
The default LoggerFactory used in JavaLogService
uses Logger
-
Field Summary
Fields inherited from interface liquibase.plugin.Plugin
PRIORITY_DATABASE, PRIORITY_DEFAULT, PRIORITY_NOT_APPLICABLE, PRIORITY_SPECIALIZED
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Closes the current log output file(s) or any other resources used by this LoggerFactory and its Loggers.Creates a logger for logging from the given class.int
void
setFilter
(LogMessageFilter filter) Sets the filter to use for messages sent through this log service.
-
Method Details
-
getPriority
int getPriority() -
getLog
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
Sets the filter to use for messages sent through this log service.
-