net.sf.jaxodraw.plugin
Interface JaxoPluginLogger


public interface JaxoPluginLogger

A wrapper of JaxoLog for plugins.


Method Summary
 void debug(java.lang.Exception e)
          Logs a DEBUG exception.
 void debug(java.lang.String msg)
          Logs a DEBUG message.
 void debug(java.lang.String msg, java.lang.Exception e)
          Logs a DEBUG message.
 void info(java.lang.Exception e)
          Logs a INFO exception.
 void info(java.lang.String msg)
          Logs a INFO message.
 void info(java.lang.String msg, java.lang.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(java.lang.Exception e)
          Logs a WARN exception.
 void warn(java.lang.String msg)
          Logs a WARN message.
 void warn(java.lang.String msg, java.lang.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(java.lang.String msg)
Logs a DEBUG message.

Parameters:
msg - The log message.

debug

void debug(java.lang.Exception e)
Logs a DEBUG exception.

Parameters:
e - An exception to log.

debug

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

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

info

void info(java.lang.String msg)
Logs a INFO message.

Parameters:
msg - The log message.

info

void info(java.lang.Exception e)
Logs a INFO exception.

Parameters:
e - An exception to log.

info

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

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

warn

void warn(java.lang.String msg)
Logs a WARN message.

Parameters:
msg - The log message.

warn

void warn(java.lang.Exception e)
Logs a WARN exception.

Parameters:
e - An exception to log.

warn

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

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


Licensed under GPL. For more information, see http://jaxodraw.sourceforge.net/license.html or the LICENSE file in the jaxodraw distribution.