- java.lang.Object
-
- ch.qos.logback.core.spi.ContextAwareBase
-
- ch.qos.logback.core.UnsynchronizedAppenderBase<E>
-
- ch.qos.logback.core.OutputStreamAppender<E>
-
- ch.qos.logback.core.FileAppender<ch.qos.logback.classic.spi.ILoggingEvent>
-
- loci.tests.testng.TimestampedLogFileAppender
-
- All Implemented Interfaces:
- ch.qos.logback.core.Appender<ch.qos.logback.classic.spi.ILoggingEvent>, ch.qos.logback.core.spi.ContextAware, ch.qos.logback.core.spi.FilterAttachable<ch.qos.logback.classic.spi.ILoggingEvent>, ch.qos.logback.core.spi.LifeCycle
public class TimestampedLogFileAppender
extends ch.qos.logback.core.FileAppender<ch.qos.logback.classic.spi.ILoggingEvent>
A class for appending a timestamp to the log file name produced by the
logging framework.
- Author:
- Blazej Pindelski
-
-
Property Summary
-
Properties inherited from class ch.qos.logback.core.FileAppender
rawFileProperty
-
Field Summary
-
Fields inherited from class ch.qos.logback.core.FileAppender
append, fileName
-
Fields inherited from class ch.qos.logback.core.OutputStreamAppender
encoder, lock
-
Fields inherited from class ch.qos.logback.core.UnsynchronizedAppenderBase
name, started
-
Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context
-
Method Summary
Methods
Modifier and Type |
Method and Description |
void |
start() |
-
Methods inherited from class ch.qos.logback.core.FileAppender
getFile, isAppend, isPrudent, openFile, rawFileProperty, setAppend, setFile, setPrudent, writeOut
-
Methods inherited from class ch.qos.logback.core.OutputStreamAppender
append, closeOutputStream, getEncoder, getOutputStream, setEncoder, setLayout, setOutputStream, stop, subAppend
-
Methods inherited from class ch.qos.logback.core.UnsynchronizedAppenderBase
addFilter, clearAllFilters, doAppend, getCopyOfAttachedFiltersList, getFilterChainDecision, getName, isStarted, setName, toString
-
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface ch.qos.logback.core.spi.ContextAware
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
-
-
Method Detail
-
start
public void start()
- Specified by:
start
in interface ch.qos.logback.core.spi.LifeCycle
- Overrides:
start
in class ch.qos.logback.core.FileAppender<ch.qos.logback.classic.spi.ILoggingEvent>
Copyright © 2014 Open Microscopy Environment