|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openmdx.kernel.log.impl.LogLog
public class LogLog
The LogLog classes provides low level debugging and logging functionality for the logging framework. This debugging facility can be enabled/disbaled.
The class may be used by the logging framework only. Especially mechanism implementations must use this log facility to avoid the recursion trap for unrecoverable errors.
The class is self contained and does not use any other resources from the logging framework (except the logging levels).
The log output is written to standard error.
| Constructor Summary | |
|---|---|
LogLog()
|
|
| Method Summary | |
|---|---|
static void |
criticalError(Class clazz,
String method,
String logString,
Object logObj)
Logs a text string at CRITICAL_ERROR_LEVEL. |
static void |
detail(Class clazz,
String method,
String logString,
Object logObj)
Logs a text string at DETAIL_LEVEL. |
static void |
enable(boolean on)
Enable/Disable technical framework logging. |
static void |
error(Class clazz,
String method,
String logString,
Object logObj)
Logs a text string at ERROR_LEVEL. |
static void |
info(Class clazz,
String method,
String logString,
Object logObj)
Logs a text string at INFO_LEVEL. |
static boolean |
isEnabled()
Returns true if the logging is enabled. |
static void |
log(int level,
Class clazz,
String method,
String logString,
Object logObj)
Log a message. |
static void |
trace(Class clazz,
String method,
String logString,
Object logObj)
Logs a text string at TRACE_LEVEL. |
static void |
warning(Class clazz,
String method,
String logString,
Object logObj)
Logs a text string at WARNING_LEVEL. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LogLog()
| Method Detail |
|---|
public static void criticalError(Class clazz,
String method,
String logString,
Object logObj)
clazz - a classmethod - a method namelogString - a log string (summary)logObj - a log object (detail, to be stringified)
public static void error(Class clazz,
String method,
String logString,
Object logObj)
clazz - a classmethod - a method namelogString - a log string (summary)logObj - a log object (detail, to be stringified)
public static void warning(Class clazz,
String method,
String logString,
Object logObj)
clazz - a classmethod - a method namelogString - a log string (summary)logObj - a log object (detail, to be stringified)
public static void info(Class clazz,
String method,
String logString,
Object logObj)
clazz - a classmethod - a method namelogString - a log string (summary)logObj - a log object (detail, to be stringified)
public static void detail(Class clazz,
String method,
String logString,
Object logObj)
clazz - a classmethod - a method namelogString - a log string (summary)logObj - a log object (detail, to be stringified)
public static void trace(Class clazz,
String method,
String logString,
Object logObj)
clazz - a classmethod - a method namelogString - a log string (summary)logObj - a log object (detail, to be stringified)public static void enable(boolean on)
on - enable on truepublic static boolean isEnabled()
public static void log(int level,
Class clazz,
String method,
String logString,
Object logObj)
clazz - a classmethod - a method namelogString - a log string (summary)logObj - a log object (detail, to be stringified)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||