Together Workflow Editor 3.0-1 API

org.enhydra.jawe.base.logger
Class LoggingManager

java.lang.Object
  extended by org.enhydra.jawe.base.logger.LoggingManager

public class LoggingManager
extends java.lang.Object

Author:
Miroslav Popov

Field Summary
private static java.lang.String defaultLogChannel
           
private static java.util.logging.Logger logger
           
 
Constructor Summary
LoggingManager()
           
 
Method Summary
 void debug(java.lang.String msg)
          Log a message object with the DEBUG level.
 void debug(java.lang.String channel, java.lang.String msg)
          Log a message object with the DEBUG level.
 void debug(java.lang.String channel, java.lang.String msg, java.lang.Throwable ex)
          Log a message object with the DEBUG level.
 void debug(java.lang.String msg, java.lang.Throwable ex)
          Log a message object with the DEBUG level.
 void error(java.lang.String msg)
          Log a message object with the ERROR Level.
 void error(java.lang.String channel, java.lang.String msg)
          Log a message object with the ERROR Level.
 void error(java.lang.String channel, java.lang.String msg, java.lang.Throwable ex)
          Log a message object with the ERROR Level.
 void error(java.lang.String msg, java.lang.Throwable ex)
          Log a message object with the ERROR Level.
 void info(java.lang.String msg)
          Log a message object with the INFO Level.
 void info(java.lang.String channel, java.lang.String msg)
          Log a message object with the INFO Level.
 void info(java.lang.String channel, java.lang.String msg, java.lang.Throwable ex)
          Log a message object with the INFO Level.
 void info(java.lang.String msg, java.lang.Throwable ex)
          Log a message object with the INFO Level.
 void warn(java.lang.String msg)
          Log a message object with the WARN Level.
 void warn(java.lang.String channel, java.lang.String msg)
          Log a message object with the WARN Level.
 void warn(java.lang.String channel, java.lang.String msg, java.lang.Throwable ex)
          Log a message object with the WARN Level.
 void warn(java.lang.String msg, java.lang.Throwable ex)
          Log a message object with the WARN Level.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

defaultLogChannel

private static final java.lang.String defaultLogChannel
See Also:
Constant Field Values

logger

private static java.util.logging.Logger logger
Constructor Detail

LoggingManager

public LoggingManager()
Method Detail

error

public void error(java.lang.String msg)
Log a message object with the ERROR Level.

Parameters:
msg - the message to log.

error

public void error(java.lang.String msg,
                  java.lang.Throwable ex)
Log a message object with the ERROR Level.

Parameters:
msg - the message to log.
ex - the exception to log, including its stack trace.

error

public void error(java.lang.String channel,
                  java.lang.String msg)
Log a message object with the ERROR Level.

Parameters:
channel - the log channel to be used for logging.
msg - the message to log.

error

public void error(java.lang.String channel,
                  java.lang.String msg,
                  java.lang.Throwable ex)
Log a message object with the ERROR Level.

Parameters:
channel - the log channel to be used for logging.
msg - the message to log.
ex - the exception to log, including its stack trace.

warn

public void warn(java.lang.String msg)
Log a message object with the WARN Level.

Parameters:
msg - the message to log.

warn

public void warn(java.lang.String msg,
                 java.lang.Throwable ex)
Log a message object with the WARN Level.

Parameters:
msg - the message to log.
ex - the exception to log, including its stack trace.

warn

public void warn(java.lang.String channel,
                 java.lang.String msg)
Log a message object with the WARN Level.

Parameters:
channel - the log channel to be used for logging.
msg - the message to log.

warn

public void warn(java.lang.String channel,
                 java.lang.String msg,
                 java.lang.Throwable ex)
Log a message object with the WARN Level.

Parameters:
channel - the log channel to be used for logging.
msg - the message to log.
ex - the exception to log, including its stack trace.

info

public void info(java.lang.String msg)
Log a message object with the INFO Level.

Parameters:
msg - the message to log.

info

public void info(java.lang.String msg,
                 java.lang.Throwable ex)
Log a message object with the INFO Level.

Parameters:
msg - the message to log.
ex - the exception to log, including its stack trace.

info

public void info(java.lang.String channel,
                 java.lang.String msg)
Log a message object with the INFO Level.

Parameters:
channel - the log channel to be used for logging.
msg - the message to log.

info

public void info(java.lang.String channel,
                 java.lang.String msg,
                 java.lang.Throwable ex)
Log a message object with the INFO Level.

Parameters:
channel - the log channel to be used for logging.
msg - the message to log.
ex - the exception to log, including its stack trace.

debug

public void debug(java.lang.String msg)
Log a message object with the DEBUG level.

Parameters:
msg - the message to log.

debug

public void debug(java.lang.String msg,
                  java.lang.Throwable ex)
Log a message object with the DEBUG level.

Parameters:
msg - the message to log.
ex - the exception to log, including its stack trace.

debug

public void debug(java.lang.String channel,
                  java.lang.String msg)
Log a message object with the DEBUG level.

Parameters:
channel - the log channel to be used for logging.
msg - the message to log.

debug

public void debug(java.lang.String channel,
                  java.lang.String msg,
                  java.lang.Throwable ex)
Log a message object with the DEBUG level.

Parameters:
channel - the log channel to be used for logging.
msg - the message to log.
ex - the exception to log, including its stack trace.

Together Workflow Editor 3.0-1 API