de.uniba.wiai.lspi.util.logging
Class SystemOutPrintlnLogger

java.lang.Object
  extended by de.uniba.wiai.lspi.util.logging.Logger
      extended by de.uniba.wiai.lspi.util.logging.SystemOutPrintlnLogger
All Implemented Interfaces:
java.io.Serializable

public class SystemOutPrintlnLogger
extends Logger

Logger, that logs to System.out.

Version:
1.0.5
Author:
karsten
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class de.uniba.wiai.lspi.util.logging.Logger
Logger.LogLevel
 
Field Summary
 
Fields inherited from class de.uniba.wiai.lspi.util.logging.Logger
LOGGER_CLASS_NAME_PROPERTY_NAME, LOGGING_OFF_PROPERTY_NAME
 
Method Summary
 void debug(java.lang.Object msg)
          Log a message object with the DEBUG level.
 void debug(java.lang.Object msg, java.lang.Throwable t)
          Log a message object with the DEBUG level including the stack trace of the Throwable t passed as parameter.
 void error(java.lang.Object msg)
          Log a message object with the ERROR level.
 void error(java.lang.Object msg, java.lang.Throwable t)
          Log a message object with the ERROR level including the stack trace of the Throwable t passed as parameter.
 void fatal(java.lang.Object msg)
          Log a message object with the FATAL level.
 void fatal(java.lang.Object msg, java.lang.Throwable t)
          Log a message object with the FATAL level including the stack trace of the Throwable t passed as parameter.
 void info(java.lang.Object msg)
          Log a message object with the INFO level.
 void info(java.lang.Object msg, java.lang.Throwable t)
          Log a message object with the INFO level including the stack trace of the Throwable t passed as parameter.
 boolean isEnabledFor(Logger.LogLevel l)
           
 void warn(java.lang.Object msg)
          Log a message object with the WARN level.
 void warn(java.lang.Object msg, java.lang.Throwable t)
          Log a message object with the WARN level including the stack trace of the Throwable t passed as parameter.
 
Methods inherited from class de.uniba.wiai.lspi.util.logging.Logger
getLogger, getLogger
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

debug

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

Specified by:
debug in class Logger
Parameters:
msg - The message object to log.

debug

public void debug(java.lang.Object msg,
                  java.lang.Throwable t)
Log a message object with the DEBUG level including the stack trace of the Throwable t passed as parameter.

Specified by:
debug in class Logger
Parameters:
msg - The message object to log.
t - The exception to log, including its stack trace.

info

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

Specified by:
info in class Logger
Parameters:
msg - The message object to log.

info

public void info(java.lang.Object msg,
                 java.lang.Throwable t)
Log a message object with the INFO level including the stack trace of the Throwable t passed as parameter.

Specified by:
info in class Logger
Parameters:
msg - The message object to log.
t - The exception to log, including its stack trace.

warn

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

Specified by:
warn in class Logger
Parameters:
msg - The message object to log.

warn

public void warn(java.lang.Object msg,
                 java.lang.Throwable t)
Log a message object with the WARN level including the stack trace of the Throwable t passed as parameter.

Specified by:
warn in class Logger
Parameters:
msg - The message object to log.
t - The exception to log, including its stack trace.

error

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

Specified by:
error in class Logger
Parameters:
msg - The message object to log.

error

public void error(java.lang.Object msg,
                  java.lang.Throwable t)
Log a message object with the ERROR level including the stack trace of the Throwable t passed as parameter.

Specified by:
error in class Logger
Parameters:
msg - The message object to log.
t - The exception to log, including its stack trace.

fatal

public void fatal(java.lang.Object msg)
Log a message object with the FATAL level.

Specified by:
fatal in class Logger
Parameters:
msg - The message object to log.

fatal

public void fatal(java.lang.Object msg,
                  java.lang.Throwable t)
Log a message object with the FATAL level including the stack trace of the Throwable t passed as parameter.

Specified by:
fatal in class Logger
Parameters:
msg - The message object to log.
t - The exception to log, including its stack trace.

isEnabledFor

public boolean isEnabledFor(Logger.LogLevel l)
Specified by:
isEnabledFor in class Logger