java.lang.Object
de.codecamp.tracer.AbstractTraceHandler
de.codecamp.tracer.handlers.JulLoggingTraceHandler
- All Implemented Interfaces:
TraceHandler
A
TraceHandler logging with java.util.logging.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidHandles the given fully completed trace.voidsetFormatter(TraceFormatter formatter) Sets the formatter used when logging.Methods inherited from class de.codecamp.tracer.AbstractTraceHandler
containsWarnings, traceHierarchyStream
-
Constructor Details
-
JulLoggingTraceHandler
public JulLoggingTraceHandler() -
JulLoggingTraceHandler
-
-
Method Details
-
setFormatter
Sets the formatter used when logging. Only relevant on the root session.- Parameters:
formatter- the formatter
-
handle
Description copied from interface:TraceHandlerHandles the given fully completed trace.- Parameters:
trace- the fully completed trace (a root trace of a root context)
-