net.sf.asterisk.util.impl
Class JavaLoggingLog
java.lang.Object
net.sf.asterisk.util.impl.JavaLoggingLog
- All Implemented Interfaces:
- Log
public class JavaLoggingLog
- extends java.lang.Object
- implements Log
Log implementation that uses the java.util.logging package.
- Author:
- drach
Constructor Summary |
JavaLoggingLog(java.lang.Class clazz)
Creates a new JavaLoggingLog obtained from java.util.logging for the
given class. |
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 |
JavaLoggingLog
public JavaLoggingLog(java.lang.Class clazz)
- Creates a new JavaLoggingLog obtained from java.util.logging for the
given class.
- Parameters:
clazz
- the class to log for.
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.