Package liquibase.logging.core
Class CompositeLogService
- java.lang.Object
-
- liquibase.logging.core.AbstractLogService
-
- liquibase.logging.core.CompositeLogService
-
- All Implemented Interfaces:
LogService
,Plugin
public class CompositeLogService extends AbstractLogService
-
-
Field Summary
-
Fields inherited from interface liquibase.plugin.Plugin
PRIORITY_DATABASE, PRIORITY_DEFAULT, PRIORITY_NOT_APPLICABLE, PRIORITY_SPECIALIZED
-
-
Constructor Summary
Constructors Constructor Description CompositeLogService()
CompositeLogService(boolean includeCurrentScopeLogService, LogService... logService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Logger
getLog(Class clazz)
Creates a logger for logging from the given class.int
getPriority()
-
Methods inherited from class liquibase.logging.core.AbstractLogService
close, getFilter, setFilter
-
-
-
-
Constructor Detail
-
CompositeLogService
public CompositeLogService()
-
CompositeLogService
public CompositeLogService(boolean includeCurrentScopeLogService, LogService... logService)
-
-
Method Detail
-
getPriority
public int getPriority()
-
getLog
public Logger getLog(Class clazz)
Description copied from interface:LogService
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.
-
-