public abstract class DebugInterfaceBase extends java.lang.Object implements DebugInterface
| Constructor and Description |
|---|
DebugInterfaceBase()
Class constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the debug output.
|
void |
debugPrint(java.lang.String str)
Output a debug string.
|
abstract void |
debugPrint(java.lang.String str,
int level)
Output a debug string with a specific logging level
|
void |
debugPrintln(java.lang.Exception ex,
int level)
Output an exception
|
void |
debugPrintln(java.lang.String str)
Output a debug string, and a newline.
|
abstract void |
debugPrintln(java.lang.String str,
int level)
Output a debug string, and a newline, with a specific logging level
|
int |
getLogLevel()
Return the debug interface logging level
|
void |
initialize(org.springframework.extensions.config.ConfigElement params,
ServerConfiguration config)
Initialize the debug interface using the specified parameters.
|
void |
setLogLevel(int logLevel)
Set the logging level
|
public void close()
close in interface DebugInterfacepublic final void debugPrint(java.lang.String str)
debugPrint in interface DebugInterfacestr - java.lang.Stringpublic abstract void debugPrint(java.lang.String str,
int level)
debugPrint in interface DebugInterfacestr - Stringlevel - intpublic final void debugPrintln(java.lang.String str)
debugPrintln in interface DebugInterfacestr - java.lang.Stringpublic abstract void debugPrintln(java.lang.String str,
int level)
debugPrintln in interface DebugInterfacestr - Stringpublic void debugPrintln(java.lang.Exception ex,
int level)
debugPrintln in interface DebugInterfaceex - Exceptionlevel - intpublic final int getLogLevel()
getLogLevel in interface DebugInterfacepublic final void setLogLevel(int logLevel)
logLevel - intpublic void initialize(org.springframework.extensions.config.ConfigElement params,
ServerConfiguration config)
throws java.lang.Exception
initialize in interface DebugInterfaceparams - ConfigElementconfig - ServerConfigurationjava.lang.ExceptionCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.