com.smaxe.logger.support
Class EmptyLogger

java.lang.Object
  extended by com.smaxe.logger.support.EmptyLogger
All Implemented Interfaces:
ILogger

public final class EmptyLogger
extends java.lang.Object
implements ILogger

EmptyLogger - empty ILogger implementation.

Author:
Andrei Sochirca

Field Summary
 
Fields inherited from interface com.smaxe.logger.ILogger
DEBUG, ERROR, INFO, LEVEL, WARN
 
Constructor Summary
EmptyLogger()
          Constructor.
 
Method Summary
 void log(int level, java.lang.String message, java.lang.Throwable t, java.lang.Object... args)
          Logs the message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmptyLogger

public EmptyLogger()
Constructor.

Method Detail

log

public void log(int level,
                java.lang.String message,
                java.lang.Throwable t,
                java.lang.Object... args)
Description copied from interface: ILogger
Logs the message.

Specified by:
log in interface ILogger
Parameters:
level - message level
message - message to log
t - thrown exception, null if the exception is not thrown
args - optional arguments