org.alfresco.filesys.debug
Class FileServerDebugInterface

java.lang.Object
  extended by org.alfresco.jlan.debug.DebugInterfaceBase
      extended by org.alfresco.filesys.debug.FileServerDebugInterface
All Implemented Interfaces:
org.alfresco.jlan.debug.DebugInterface

public class FileServerDebugInterface
extends org.alfresco.jlan.debug.DebugInterfaceBase

Alfresco File Server Debug Interface Class


Constructor Summary
FileServerDebugInterface()
          Class constructor
 
Method Summary
 void debugPrint(java.lang.String str, int level)
          Output a debug string.
 void debugPrintln(java.lang.String str, int level)
          Output a debug string, and a newline.
 void debugPrintln(java.lang.Throwable ex, int level)
          Output an exception
 void initialize(org.springframework.extensions.config.ConfigElement params)
          Initialize the debug interface using the specified named parameters.
protected  void logOutput(java.lang.String str, int level)
          Output to the logger at the appropriate log level
 
Methods inherited from class org.alfresco.jlan.debug.DebugInterfaceBase
close, debugPrint, debugPrintln, debugPrintln, getLogLevel, initialize, setLogLevel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileServerDebugInterface

public FileServerDebugInterface()
Class constructor

Method Detail

debugPrint

public void debugPrint(java.lang.String str,
                       int level)
Output a debug string.

Specified by:
debugPrint in interface org.alfresco.jlan.debug.DebugInterface
Specified by:
debugPrint in class org.alfresco.jlan.debug.DebugInterfaceBase
Parameters:
str - String

debugPrintln

public void debugPrintln(java.lang.String str,
                         int level)
Output a debug string, and a newline.

Specified by:
debugPrintln in interface org.alfresco.jlan.debug.DebugInterface
Specified by:
debugPrintln in class org.alfresco.jlan.debug.DebugInterfaceBase
Parameters:
str - String

debugPrintln

public void debugPrintln(java.lang.Throwable ex,
                         int level)
Output an exception

Parameters:
ex - Throwable
level - int

logOutput

protected void logOutput(java.lang.String str,
                         int level)
Output to the logger at the appropriate log level

Parameters:
str - String
level - int

initialize

public void initialize(org.springframework.extensions.config.ConfigElement params)
                throws java.lang.Exception
Initialize the debug interface using the specified named parameters.

Parameters:
params - ConfigElement
Throws:
java.lang.Exception


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.