org.enhydra.xml.xmlc
Interface XMLCLogger

All Known Implementing Classes:
Log4jXMLCLogger, StreamXMLCLogger, ServletXMLCLogger

public interface XMLCLogger

Abstract interface for XMLC logging. Implementations of this class allows the XMLC runtime to be integrate with different logging facilities. Three levels of logging are currently used by the XMLC runtime:


Method Summary
 boolean debugEnabled()
          Determine if debug logging is enabled.
 boolean errorEnabled()
          Determine if error logging is enabled.
 boolean infoEnabled()
          Determine if info logging is enabled.
 void logDebug(String msg)
          Login an debug message.
 void logDebug(String msg, Throwable except)
          Login an debug message with exception.
 void logError(String msg)
          Login an error message.
 void logError(String msg, Throwable except)
          Login an error message with exception.
 void logInfo(String msg)
          Login an info message.
 void logInfo(String msg, Throwable except)
          Login an info message with exception.
 

Method Detail

infoEnabled

public boolean infoEnabled()
Determine if info logging is enabled.

logInfo

public void logInfo(String msg)
Login an info message.

logInfo

public void logInfo(String msg,
                    Throwable except)
Login an info message with exception.

errorEnabled

public boolean errorEnabled()
Determine if error logging is enabled.

logError

public void logError(String msg)
Login an error message.

logError

public void logError(String msg,
                     Throwable except)
Login an error message with exception.

debugEnabled

public boolean debugEnabled()
Determine if debug logging is enabled.

logDebug

public void logDebug(String msg)
Login an debug message.

logDebug

public void logDebug(String msg,
                     Throwable except)
Login an debug message with exception.


Copyright © 1999-2002 enhydra.org (Mark Diekhans, David Li, Richard Kunze). All Rights reserved.