Top Inners Fields Constructors Methods
liquibase.logging.core

public Class BufferedLogService

extends AbstractLogService
Class Inheritance
Annotations
@Deprecated
Imports
liquibase.logging.Logger, liquibase.util.ISODateFormat, java.io.IOException, .PrintWriter, .StringWriter, java.util.ArrayList, .Collections, .Date, .List, java.util.logging.Level

Deprecated

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
private final List<BufferedLogService.BufferedLogMessage>
public static final int

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
public Logger
getLog(Class<T> clazz)

Implements liquibase.logging.LogService.getLog.

Creates a logger for logging from the given class.

public List<BufferedLogService.BufferedLogMessage>
public String
getLogAsString(Level minimumLevel)

public int
Inherited from liquibase.logging.core.AbstractLogService:
closegetFiltersetFilter

Field Detail

logback to summary
private final List<BufferedLogService.BufferedLogMessage> log
MAX_LOG_LENGTHback to summary
public static final int MAX_LOG_LENGTH

Constructor Detail

BufferedLogServiceback to summary
public BufferedLogService()

Method Detail

addLogback to summary
public void addLog(BufferedLogService.BufferedLogMessage log)
getLogback to summary
public Logger getLog(Class<T> clazz)

Implements liquibase.logging.LogService.getLog.

Doc from liquibase.logging.LogService.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.

Annotations
@Override
getLogback to summary
public List<BufferedLogService.BufferedLogMessage> getLog()
getLogAsStringback to summary
public String getLogAsString(Level minimumLevel)
getPriorityback to summary
public int getPriority()

Implements liquibase.logging.LogService.getPriority.

Annotations
@Override
liquibase.logging.core back to summary

public Class BufferedLogService.BufferedLogMessage

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final Level
private final Class<T>
private final String
private final Throwable
private final Date

Constructor Summary

AccessConstructor and Description
public
BufferedLogMessage(Level level, Class<T> location, String message, Throwable throwable)

Method Summary

Modifier and TypeMethod and Description
public Level
public Class<T>
public String
public Throwable
public Date
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

levelback to summary
private final Level level
locationback to summary
private final Class<T> location
messageback to summary
private final String message
throwableback to summary
private final Throwable throwable
timestampback to summary
private final Date timestamp

Constructor Detail

BufferedLogMessageback to summary
public BufferedLogMessage(Level level, Class<T> location, String message, Throwable throwable)

Method Detail

getLevelback to summary
public Level getLevel()
getLocationback to summary
public Class<T> getLocation()
getMessageback to summary
public String getMessage()
getThrowableback to summary
public Throwable getThrowable()
getTimestampback to summary
public Date getTimestamp()