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

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

public class DummyLogger
extends Logger

This is a dummy logger that does no logging. All methods are empty.

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, name
 
Method Summary
 void debug(Object msg)
           
 void debug(Object msg, Throwable t)
           
 void error(Object msg)
           
 void error(Object msg, Throwable t)
           
 void fatal(Object msg)
           
 void fatal(Object msg, Throwable t)
           
 void info(Object msg)
           
 void info(Object msg, Throwable t)
           
 boolean isEnabledFor(Logger.LogLevel l)
           
 void warn(Object msg)
           
 void warn(Object msg, Throwable t)
           
 
Methods inherited from class de.uniba.wiai.lspi.util.logging.Logger
getLogger, getLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

debug

public void debug(Object msg)
Specified by:
debug in class Logger

debug

public void debug(Object msg,
                  Throwable t)
Specified by:
debug in class Logger

error

public void error(Object msg)
Specified by:
error in class Logger

error

public void error(Object msg,
                  Throwable t)
Specified by:
error in class Logger

fatal

public void fatal(Object msg)
Specified by:
fatal in class Logger

fatal

public void fatal(Object msg,
                  Throwable t)
Specified by:
fatal in class Logger

info

public void info(Object msg)
Specified by:
info in class Logger

info

public void info(Object msg,
                 Throwable t)
Specified by:
info in class Logger

warn

public void warn(Object msg)
Specified by:
warn in class Logger

warn

public void warn(Object msg,
                 Throwable t)
Specified by:
warn in class Logger

isEnabledFor

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


Copyright © 2004-2008 Karsten Loesing, Sven Kaffille - Distributed and Mobile Systems Group, Lehrstuhl für Praktische Informatik, Universität Bamberg. All Rights Reserved.