net.sf.asterisk.util.impl
Class NullLog
java.lang.Object
net.sf.asterisk.util.impl.NullLog
- All Implemented Interfaces:
- Log
public class NullLog
- extends java.lang.Object
- implements Log
A Log implementation that does nothing.
- Version:
- $Id: NullLog.java,v 1.1 2005/04/20 18:22:13 srt Exp $
- Author:
- srt
Constructor Summary |
NullLog()
Creates a new NullLog. |
Method Summary |
void |
debug(java.lang.Object obj)
|
void |
error(java.lang.Object obj)
|
void |
error(java.lang.Object obj,
java.lang.Throwable ex)
|
void |
info(java.lang.Object obj)
|
void |
warn(java.lang.Object obj)
|
void |
warn(java.lang.Object obj,
java.lang.Throwable ex)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullLog
public NullLog()
- Creates a new NullLog.
debug
public void debug(java.lang.Object obj)
- Specified by:
debug
in interface Log
info
public void info(java.lang.Object obj)
- Specified by:
info
in interface Log
warn
public void warn(java.lang.Object obj)
- Specified by:
warn
in interface Log
warn
public void warn(java.lang.Object obj,
java.lang.Throwable ex)
- Specified by:
warn
in interface Log
error
public void error(java.lang.Object obj)
- Specified by:
error
in interface Log
error
public void error(java.lang.Object obj,
java.lang.Throwable ex)
- Specified by:
error
in interface Log
Copyright © 2004-2005 Stefan Reuter. All Rights Reserved.