Top Fields Constructors Methods
liquibase.logging.core

public Class CompositeLogger

extends AbstractLogger
Class Inheritance
Imports
liquibase.logging.LogMessageFilter, .Logger, java.util.List, java.util.logging.Level

Field Summary

Modifier and TypeField and Description
private final List<Logger>

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
public void
close()

Overrides default liquibase.logging.Logger.close.

Closes this resource, relinquishing any underlying resources.

public void
log(Level level, String message, Throwable e)

Implements liquibase.logging.Logger.log.

Generic log method that can log at any log level

Inherited from liquibase.logging.core.AbstractLogger:
configconfigdebugdebugfilterMessagefinefineinfoinfosevereseverewarningwarning

Field Detail

loggersback to summary
private final List<Logger> loggers

Constructor Detail

CompositeLoggerback to summary
public CompositeLogger(List<Logger> loggers, LogMessageFilter filter)

Deprecated

use CompositeLogger(List)

CompositeLoggerback to summary
public CompositeLogger(List<Logger> loggers)

Method Detail

closeback to summary
public void close() throws Exception

Overrides default liquibase.logging.Logger.close.

Doc from java.lang.AutoCloseable.close.

Closes this resource, relinquishing any underlying resources. This method is invoked automatically on objects managed by the try-with-resources statement.

Annotations
@Override
Exceptions
Exception:
if this resource cannot be closed
logback to summary
public void log(Level level, String message, Throwable e)

Implements liquibase.logging.Logger.log.

Doc from liquibase.logging.Logger.log.

Generic log method that can log at any log level

Annotations
@Override