public class FileServerDebugInterface extends Object implements DebugInterface
| Constructor and Description |
|---|
FileServerDebugInterface()
Class constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
debugPrint(String str) |
void |
debugPrint(String str,
int level)
Output a debug string.
|
void |
debugPrintln(Exception ex,
int level) |
void |
debugPrintln(String str) |
void |
debugPrintln(String str,
int level)
Output a debug string, and a newline.
|
void |
debugPrintln(Throwable ex,
int level)
Output an exception
|
int |
getLogLevel()
Map logger level to JLAN debug level
|
void |
initialize(org.springframework.extensions.config.ConfigElement params)
Initialize the debug interface using the specified named parameters.
|
void |
initialize(org.springframework.extensions.config.ConfigElement params,
ServerConfiguration config) |
protected void |
logOutput(String str,
int level)
Output to the logger at the appropriate log level
|
public void debugPrint(String str, int level)
debugPrint in interface DebugInterfacestr - Stringpublic void debugPrintln(String str, int level)
debugPrintln in interface DebugInterfacestr - Stringpublic void debugPrintln(Throwable ex, int level)
ex - Throwablelevel - intprotected void logOutput(String str, int level)
str - Stringlevel - intpublic void initialize(org.springframework.extensions.config.ConfigElement params)
throws Exception
params - ConfigElementExceptionpublic int getLogLevel()
getLogLevel in interface DebugInterfacepublic void close()
close in interface DebugInterfacepublic void debugPrint(String str)
debugPrint in interface DebugInterfacepublic void debugPrintln(String str)
debugPrintln in interface DebugInterfacepublic void debugPrintln(Exception ex, int level)
debugPrintln in interface DebugInterfacepublic void initialize(org.springframework.extensions.config.ConfigElement params,
ServerConfiguration config)
throws Exception
initialize in interface DebugInterfaceExceptionCopyright © 2005–2014 Alfresco Software. All rights reserved.