public class JDKLoggingDebug extends DebugInterfaceBase
Output debug messages using the JDK logging APIs.
Constructor and Description |
---|
JDKLoggingDebug()
Class constructor
|
Modifier and Type | Method and Description |
---|---|
void |
debugPrint(java.lang.String str,
int level)
Output a debug string.
|
void |
debugPrintln(java.lang.Exception ex,
int level)
Output an exception
|
void |
debugPrintln(java.lang.String str,
int level)
Output a debug string, and a newline.
|
void |
initialize(org.springframework.extensions.config.ConfigElement params,
ServerConfiguration config)
Initialize the debug interface using the specified parameters.
|
protected void |
logOutput(java.lang.String str,
int level)
Output to the logger at the appropriate log level
|
close, debugPrint, debugPrintln, getLogLevel, setLogLevel
public final void debugPrint(java.lang.String str, int level)
debugPrint
in interface DebugInterface
debugPrint
in class DebugInterfaceBase
str
- Stringlevel
- intpublic final void debugPrintln(java.lang.String str, int level)
debugPrintln
in interface DebugInterface
debugPrintln
in class DebugInterfaceBase
str
- Stringpublic void debugPrintln(java.lang.Exception ex, int level)
debugPrintln
in interface DebugInterface
debugPrintln
in class DebugInterfaceBase
ex
- Exceptionlevel
- intprotected void logOutput(java.lang.String str, int level)
str
- Stringlevel
- intpublic void initialize(org.springframework.extensions.config.ConfigElement params, ServerConfiguration config)
initialize
in interface DebugInterface
initialize
in class DebugInterfaceBase
params
- ConfigElementconfig
- ServerConfigurationCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.