public class FileServerDebugInterface extends Object implements org.alfresco.jlan.debug.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,
org.alfresco.jlan.server.config.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 org.alfresco.jlan.debug.DebugInterface
str
- Stringpublic void debugPrintln(String str, int level)
debugPrintln
in interface org.alfresco.jlan.debug.DebugInterface
str
- 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
- ConfigElementException
public int getLogLevel()
getLogLevel
in interface org.alfresco.jlan.debug.DebugInterface
public void close()
close
in interface org.alfresco.jlan.debug.DebugInterface
public void debugPrint(String str)
debugPrint
in interface org.alfresco.jlan.debug.DebugInterface
public void debugPrintln(String str)
debugPrintln
in interface org.alfresco.jlan.debug.DebugInterface
public void debugPrintln(Exception ex, int level)
debugPrintln
in interface org.alfresco.jlan.debug.DebugInterface
Copyright © 2005–2017 Alfresco Software. All rights reserved.