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 DebugInterface
public final void debugPrint(java.lang.String str)
debugPrint
in interface DebugInterface
str
- java.lang.Stringpublic abstract void debugPrint(java.lang.String str, int level)
debugPrint
in interface DebugInterface
str
- Stringlevel
- intpublic final void debugPrintln(java.lang.String str)
debugPrintln
in interface DebugInterface
str
- java.lang.Stringpublic abstract void debugPrintln(java.lang.String str, int level)
debugPrintln
in interface DebugInterface
str
- Stringpublic void debugPrintln(java.lang.Exception ex, int level)
debugPrintln
in interface DebugInterface
ex
- Exceptionlevel
- intpublic final int getLogLevel()
getLogLevel
in interface DebugInterface
public final void setLogLevel(int logLevel)
logLevel
- intpublic void initialize(org.springframework.extensions.config.ConfigElement params, ServerConfiguration config) throws java.lang.Exception
initialize
in interface DebugInterface
params
- ConfigElementconfig
- ServerConfigurationjava.lang.Exception
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.