public interface ITracer
Modifier and Type | Method and Description |
---|---|
java.lang.String |
asHtml()
Returns output from trace as HTML.
|
void |
debug(java.lang.String message,
org.apache.logging.log4j.Logger logger)
Store or log a debug message.
|
void |
error(java.lang.String message,
java.lang.Throwable error,
org.apache.logging.log4j.Logger logger)
Store or log an error message.
|
void |
info(java.lang.String message,
org.apache.logging.log4j.Logger logger)
Store or log an informational message.
|
boolean |
isEnabled()
Indicates if the tracer is enabled.
|
void |
pop(org.apache.logging.log4j.Logger logger)
Pops back up a level on the trace stack.
|
void |
push(TracerCategory category,
java.lang.String message,
org.apache.logging.log4j.Logger logger)
Pushes another level into the trace stack.
|
void |
setEnabled(boolean enabled)
Enables or disables the tracer.
|
void |
start(TracerCategory category,
java.lang.String message,
org.apache.logging.log4j.Logger logger)
Start tracing.
|
void |
stop(org.apache.logging.log4j.Logger logger)
Stop tracing.
|
void |
timing(java.lang.String message,
long delta,
java.util.concurrent.TimeUnit unit,
org.apache.logging.log4j.Logger logger)
Store timing information.
|
void |
warn(java.lang.String message,
java.lang.Throwable error,
org.apache.logging.log4j.Logger logger)
Store or log an warning message.
|
void start(TracerCategory category, java.lang.String message, org.apache.logging.log4j.Logger logger)
category
- message
- logger
- void stop(org.apache.logging.log4j.Logger logger)
logger
- boolean isEnabled()
void setEnabled(boolean enabled)
enabled
- java.lang.String asHtml() throws java.lang.UnsupportedOperationException
UnsupportedOperationException
if they are stateless.java.lang.UnsupportedOperationException
void push(TracerCategory category, java.lang.String message, org.apache.logging.log4j.Logger logger)
category
- message
- logger
- void pop(org.apache.logging.log4j.Logger logger)
logger
- void debug(java.lang.String message, org.apache.logging.log4j.Logger logger)
message
- logger
- void info(java.lang.String message, org.apache.logging.log4j.Logger logger)
message
- logger
- void warn(java.lang.String message, java.lang.Throwable error, org.apache.logging.log4j.Logger logger)
message
- error
- logger
- void error(java.lang.String message, java.lang.Throwable error, org.apache.logging.log4j.Logger logger)
message
- error
- logger
- void timing(java.lang.String message, long delta, java.util.concurrent.TimeUnit unit, org.apache.logging.log4j.Logger logger)
message
- delta
- unit
- logger
-