org.inxar.hotswap
Interface ProxyLog.Channel

Enclosing class:
ProxyLog

public static interface ProxyLog.Channel

The Channel interface is the thing through which actual log messages should be sent.


Method Summary
 void debug(Object msg)
          Sends a debugging message.
 boolean doDebug()
          Returns true if this Channel should report debugging messages.
 boolean doFatal()
          Returns true if this Channel should report fatal error messages.
 boolean doInfo()
          Returns true if this Channel should report info messages.
 boolean doWarn()
          Returns true if this Channel should report warning messages.
 void fatal(Object msg)
          Sends a fatal error message.
 void fatal(Object msg, Throwable t)
          Sends an error message detailed by the given Throwable.
 void info(Object msg)
          Sends an info message.
 void warn(Object msg)
          Sends a warning message.
 void warn(Object msg, Throwable t)
          Sends a warning message detailed by the given Throwable.
 

Method Detail

doDebug

public boolean doDebug()
Returns true if this Channel should report debugging messages.

doInfo

public boolean doInfo()
Returns true if this Channel should report info messages.

doWarn

public boolean doWarn()
Returns true if this Channel should report warning messages.

doFatal

public boolean doFatal()
Returns true if this Channel should report fatal error messages.

debug

public void debug(Object msg)
Sends a debugging message.

info

public void info(Object msg)
Sends an info message.

warn

public void warn(Object msg)
Sends a warning message.

warn

public void warn(Object msg,
                 Throwable t)
Sends a warning message detailed by the given Throwable.

fatal

public void fatal(Object msg)
Sends a fatal error message.

fatal

public void fatal(Object msg,
                  Throwable t)
Sends an error message detailed by the given Throwable.