Package | Description |
---|---|
de.christofreichardt.diagnosis |
Provides the basic tracing faclitities.
|
de.christofreichardt.diagnosis.file |
Contains tracers which log into the local file system.
|
Modifier and Type | Method and Description |
---|---|
static LogLevel |
LogLevel.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LogLevel[] |
LogLevel.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
DebugLogTee.adapt(LogLevel logLevel,
String message,
Class clazz)
Derived classes should provide code which routes the given message with the denoted logLevel and class to the desired log system.
|
protected abstract void |
DebugLogTee.adapt(LogLevel logLevel,
Throwable throwable,
Class clazz)
Derived classes should provide code which routes the given throwable with the denoted logLevel and class to the desired log system.
|
protected Level |
JDKLoggingRouter.convertToJDK14Level(LogLevel logLevel)
|
void |
QueueTracer.logException(LogLevel logLevel,
Throwable throwable,
Class clazz,
String methodName)
Delegates to the corresponding method of the wrapped tracer.
|
void |
NullTracer.logException(LogLevel logLevel,
Throwable throwable,
Class clazz,
String methodName)
Pseudo logException()-method.
|
void |
JDKLoggingRouter.logException(LogLevel logLevel,
Throwable throwable,
Class clazz,
String methodName)
Calls the
Logger for the given clazz. |
void |
DebugLogTee.logException(LogLevel logLevel,
Throwable throwable,
Class clazz,
String methodName) |
void |
AbstractTracer.logException(LogLevel logLevel,
Throwable throwable,
Class clazz,
String methodName)
Logs an exception with the given logLevel and the originating class.
|
void |
QueueTracer.logMessage(LogLevel logLevel,
String message,
Class clazz,
String methodName)
Delegates to the corresponding method of the wrapped tracer.
|
void |
NullTracer.logMessage(LogLevel logLevel,
String message,
Class clazz,
String methodName)
Pseudo logMessage()-method.
|
void |
JDKLoggingRouter.logMessage(LogLevel logLevel,
String message,
Class clazz,
String methodName)
Calls the
Logger for the given clazz. |
void |
DebugLogTee.logMessage(LogLevel logLevel,
String message,
Class clazz,
String methodName) |
void |
AbstractTracer.logMessage(LogLevel logLevel,
String message,
Class clazz,
String methodName)
Logs a message with the given logLevel and the originating class.
|
Modifier and Type | Method and Description |
---|---|
protected void |
FileTracerLog4jTee.adapt(LogLevel logLevel,
String message,
Class clazz)
Routes the given information to the log4j system.
|
protected void |
FileTracerLog4jTee.adapt(LogLevel logLevel,
Throwable throwable,
Class clazz)
Routes the given information to the log4j system.
|
protected org.apache.log4j.Level |
FileTracerLog4jTee.convertToLog4jLevel(LogLevel logLevel)
Translates the native
LogLevel to a log4j level. |
void |
FileTracer.logException(LogLevel logLevel,
Throwable throwable,
Class clazz,
String methodName) |
void |
FileTracer.logMessage(LogLevel logLevel,
String message,
Class clazz,
String methodName) |
Copyright © 2014 Christof Reichardt. All rights reserved. (Build: 26-May-2014)