Package net.sf.jaxodraw.plugin
Interface JaxoPluginLogger
-
public interface JaxoPluginLoggerA wrapper of JaxoLog for plugins.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddebug(java.lang.Exception e)Logs a DEBUG exception.voiddebug(java.lang.String msg)Logs a DEBUG message.voiddebug(java.lang.String msg, java.lang.Exception e)Logs a DEBUG message.voidinfo(java.lang.Exception e)Logs a INFO exception.voidinfo(java.lang.String msg)Logs a INFO message.voidinfo(java.lang.String msg, java.lang.Exception e)Logs a INFO message.booleanisDebugEnabled()Check if a debug message would actually be logged by the current logger.booleanisInfoEnabled()Check if a info message would actually be logged by the current logger.booleanisWarnEnabled()Check if a warn message would actually be logged by the current logger.voidwarn(java.lang.Exception e)Logs a WARN exception.voidwarn(java.lang.String msg)Logs a WARN message.voidwarn(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.
-
-