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 DebugInterface
public final void debugPrint(String str)
debugPrint
in interface DebugInterface
str
- java.lang.Stringpublic abstract void debugPrint(String str, int level)
debugPrint
in interface DebugInterface
str
- Stringlevel
- intpublic final void debugPrintln(String str)
debugPrintln
in interface DebugInterface
str
- java.lang.Stringpublic abstract void debugPrintln(String str, int level)
debugPrintln
in interface DebugInterface
str
- Stringpublic void debugPrintln(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 Exception
initialize
in interface DebugInterface
params
- ConfigElementconfig
- ServerConfigurationException
Copyright © 2005–2017 Alfresco Software. All rights reserved.