public abstract class DebugInterfaceBase extends Object implements DebugInterface
| Constructor and Description |
|---|
DebugInterfaceBase()
Class constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the debug output.
|
void |
debugPrint(String str)
Output a debug string.
|
abstract void |
debugPrint(String str,
int level)
Output a debug string with a specific logging level
|
void |
debugPrintln(Exception ex,
int level)
Output an exception
|
void |
debugPrintln(String str)
Output a debug string, and a newline.
|
abstract void |
debugPrintln(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(String str)
debugPrint in interface DebugInterfacestr - java.lang.Stringpublic abstract void debugPrint(String str, int level)
debugPrint in interface DebugInterfacestr - Stringlevel - intpublic final void debugPrintln(String str)
debugPrintln in interface DebugInterfacestr - java.lang.Stringpublic abstract void debugPrintln(String str, int level)
debugPrintln in interface DebugInterfacestr - Stringpublic void debugPrintln(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 Exception
initialize in interface DebugInterfaceparams - ConfigElementconfig - ServerConfigurationExceptionCopyright © 2005–2015 Alfresco Software. All rights reserved.