Class FileTracerLogTee
- java.lang.Object
-
- de.christofreichardt.diagnosis.AbstractTracer
-
- de.christofreichardt.diagnosis.DebugLogTee<FileTracer>
-
- de.christofreichardt.diagnosis.file.FileTracerLogTee
-
public abstract class FileTracerLogTee extends DebugLogTee<FileTracer>
A DebugLogTee that uses aFileTracerinternally.- Author:
- Christof Reichardt
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.christofreichardt.diagnosis.AbstractTracer
AbstractTracer.Exception
-
-
Field Summary
-
Fields inherited from class de.christofreichardt.diagnosis.DebugLogTee
tracer
-
Fields inherited from class de.christofreichardt.diagnosis.AbstractTracer
VERSION
-
-
Constructor Summary
Constructors Constructor Description FileTracerLogTee(String name)Constructs aFileTracerLogTeeusing the given name for the embeddedFileTracer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PathgetLogDirPath()Returns the configured log directory for the embeddedFileTracer.voidsetLogDirPath(Path logDirPath)Setter to override the default log directory of the embeddedFileTracer.-
Methods inherited from class de.christofreichardt.diagnosis.DebugLogTee
adapt, adapt, close, entry, entry, entry, getBufferSize, getName, initCurrentTracingContext, initCurrentTracingContext, isAutoflush, isOpened, logException, logMessage, open, out, readConfiguration, setAutoflush, setBufferSize, wayout
-
Methods inherited from class de.christofreichardt.diagnosis.AbstractTracer
clearCurrentTracingContext, formatStreamErrorState, formatVersionInfo, getBufferedOutputStream, getLevel, getNullPrintStream, getThreadMap, getTracePrintStream, isOnline, out, setBufferedOutputStream, setOpened, setTracePrintStream
-
-
-
-
Constructor Detail
-
FileTracerLogTee
public FileTracerLogTee(String name)
Constructs aFileTracerLogTeeusing the given name for the embeddedFileTracer.- Parameters:
name- the name of the embeddedFileTracer
-
-
Method Detail
-
getLogDirPath
public Path getLogDirPath()
Returns the configured log directory for the embeddedFileTracer.- Returns:
- the configured log directory
-
setLogDirPath
public void setLogDirPath(Path logDirPath)
Setter to override the default log directory of the embeddedFileTracer.- Parameters:
logDirPath- the desired log directory
-
-