public class NullTracer extends AbstractTracer
AbstractTracer.ExceptionVERSION| 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, substitutepublic NullTracer()
public NullTracer(String name)
name - the name of the tracerprotected void readConfiguration(XPath xpath, Node node)
readConfiguration in class AbstractTracerxpath - (ignored)node - (ignored)public final void open()
open in class AbstractTracerpublic final void close()
close in class AbstractTracerprotected final NullPrintStream out(int level)
NullPrintStream regardless of the given level.out in class AbstractTracerlevel - (ignored)public final NullPrintStream out()
NullPrintStream.out in class AbstractTracer@Deprecated public final TraceMethod entry(String methodSignature)
entry in class AbstractTracermethodSignature - (ignored)public final TraceMethod entry(String returnType, Object object, String methodSignature)
entry in class AbstractTracerreturnType - (ignored)object - (ignored)methodSignature - (ignored)public final TraceMethod entry(String returnType, Class clazz, String methodSignature)
entry in class AbstractTracerreturnType - (ignored)clazz - (ignored)methodSignature - (ignored)public final TraceMethod wayout()
wayout in class AbstractTracerpublic final void initCurrentTracingContext()
initCurrentTracingContext in class AbstractTracerpublic final void initCurrentTracingContext(int debugLevel,
boolean online)
initCurrentTracingContext in class AbstractTracerdebugLevel - (ignored)online - (ignored)public void logException(LogLevel logLevel, Throwable throwable, Class clazz, String methodName)
logException in class AbstractTracerlogLevel - (ignored)throwable - (ignored)clazz - (ignored)methodName - the name of the relevant methodpublic void logMessage(LogLevel logLevel, String message, Class clazz, String methodName)
logMessage in class AbstractTracerlogLevel - (ignored)message - (ignored)clazz - (ignored)methodName - the originating methodCopyright © 2014. All rights reserved.