public class NullTracer extends AbstractTracer
AbstractTracer.Exception
VERSION
Constructor and Description |
---|
NullTracer()
Default constructor.
|
NullTracer(String name)
Constructor for pooled tracers with (unique) names.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Pseudo close()-method.
|
TraceMethod |
entry(String methodSignature)
Deprecated.
provided for backwards compatibility
|
TraceMethod |
entry(String returnType,
Class clazz,
String methodSignature)
Pseudo entry()-method.
|
TraceMethod |
entry(String returnType,
Object object,
String methodSignature)
Pseudo entry()-method.
|
void |
initCurrentTracingContext()
Pseudo initCurrentTracingContext()-method.
|
void |
initCurrentTracingContext(int debugLevel,
boolean online)
Pseudo initCurrentTracingContext()-method.
|
void |
logException(LogLevel logLevel,
Throwable throwable,
Class clazz,
String methodName)
Pseudo logException()-method.
|
void |
logMessage(LogLevel logLevel,
String message,
Class clazz,
String methodName)
Pseudo logMessage()-method.
|
void |
open()
Pseudo open()-method.
|
NullPrintStream |
out()
Returns always a
NullPrintStream . |
protected NullPrintStream |
out(int level)
Returns always a
NullPrintStream regardless of the given level. |
protected void |
readConfiguration(XPath xpath,
Node node)
Pseudo readConfiguration()-method.
|
TraceMethod |
wayout()
Pseudo wayout()-method.
|
clearCurrentTracingContext, formatStreamErrorState, formatVersionInfo, getBufferedOutputStream, getBufferSize, getName, getNullPrintStream, getSyncObject, getThreadMap, getTracePrintStream, isAutoflush, isOpened, setAutoflush, setBufferedOutputStream, setBufferSize, setOpened, setTracePrintStream, substitute
public NullTracer()
public NullTracer(String name)
name
- the name of the tracerprotected final void readConfiguration(XPath xpath, Node node)
readConfiguration
in class AbstractTracer
xpath
- (ignored)node
- (ignored)public final void open()
open
in class AbstractTracer
public final void close()
close
in class AbstractTracer
protected final NullPrintStream out(int level)
NullPrintStream
regardless of the given level.out
in class AbstractTracer
level
- (ignored)public final NullPrintStream out()
NullPrintStream
.out
in class AbstractTracer
@Deprecated public final TraceMethod entry(String methodSignature)
entry
in class AbstractTracer
methodSignature
- (ignored)public final TraceMethod entry(String returnType, Object object, String methodSignature)
entry
in class AbstractTracer
returnType
- (ignored)object
- (ignored)methodSignature
- (ignored)public final TraceMethod entry(String returnType, Class clazz, String methodSignature)
entry
in class AbstractTracer
returnType
- (ignored)clazz
- (ignored)methodSignature
- (ignored)public final TraceMethod wayout()
wayout
in class AbstractTracer
public final void initCurrentTracingContext()
initCurrentTracingContext
in class AbstractTracer
public final void initCurrentTracingContext(int debugLevel, boolean online)
initCurrentTracingContext
in class AbstractTracer
debugLevel
- (ignored)online
- (ignored)public void logException(LogLevel logLevel, Throwable throwable, Class clazz, String methodName)
logException
in class AbstractTracer
logLevel
- (ignored)throwable
- (ignored)clazz
- (ignored)public void logMessage(LogLevel logLevel, String message, Class clazz, String methodName)
logMessage
in class AbstractTracer
logLevel
- (ignored)message
- (ignored)clazz
- (ignored)methodName
- the originating methodCopyright © 2014 Christof Reichardt. All rights reserved. (Build: 26-May-2014)