net.sf.jaxodraw.plugin
Interface JaxoPluginLogger


public interface JaxoPluginLogger

A wrapper of JaxoLog for plugins.


Method Summary
 void debug(Exception e)
          Logs a DEBUG exception.
 void debug(String msg)
          Logs a DEBUG message.
 void debug(String msg, Exception e)
          Logs a DEBUG message.
 void info(Exception e)
          Logs a INFO exception.
 void info(String msg)
          Logs a INFO message.
 void info(String msg, Exception e)
          Logs a INFO message.
 boolean isDebugEnabled()
          Check if a debug message would actually be logged by the current logger.
 boolean isInfoEnabled()
          Check if a info message would actually be logged by the current logger.
 boolean isWarnEnabled()
          Check if a warn message would actually be logged by the current logger.
 void warn(Exception e)
          Logs a WARN exception.
 void warn(String msg)
          Logs a WARN message.
 void warn(String msg, Exception e)
          Logs a WARN message.
 

Method Detail

isDebugEnabled

boolean isDebugEnabled()
Check if a debug message would actually be logged by the current logger.

Returns:
true if debug logging is enabled.

isInfoEnabled

boolean isInfoEnabled()
Check if a info message would actually be logged by the current logger.

Returns:
true if info logging is enabled.

isWarnEnabled

boolean isWarnEnabled()
Check if a warn message would actually be logged by the current logger.

Returns:
true if warn logging is enabled.

debug

void debug(String msg)
Logs a DEBUG message.

Parameters:
msg - The log message.

debug

void debug(Exception e)
Logs a DEBUG exception.

Parameters:
e - An exception to log.

debug

void debug(String msg,
           Exception e)
Logs a DEBUG message.

Parameters:
msg - The log message.
e - An exception to log.

info

void info(String msg)
Logs a INFO message.

Parameters:
msg - The log message.

info

void info(Exception e)
Logs a INFO exception.

Parameters:
e - An exception to log.

info

void info(String msg,
          Exception e)
Logs a INFO message.

Parameters:
msg - The log message.
e - An exception to log.

warn

void warn(String msg)
Logs a WARN message.

Parameters:
msg - The log message.

warn

void warn(Exception e)
Logs a WARN exception.

Parameters:
e - An exception to log.

warn

void warn(String msg,
          Exception e)
Logs a WARN message.

Parameters:
msg - The log message.
e - An exception to log.


Copyright © 2003-2011 The JaxoDraw team. All Rights Reserved.