net.sf.jour.log
Class Logger
java.lang.Object
net.sf.jour.log.Logger
public class Logger
- extends java.lang.Object
Log4j wrapper
- Author:
- vlads
Constructor Summary |
protected |
Logger()
|
Method Summary |
void |
debug(java.lang.Object message)
|
void |
error(java.lang.Object message)
|
void |
error(java.lang.Object message,
java.lang.Throwable t)
|
static Logger |
getLog(java.lang.Class clazz)
|
static Logger |
getLogger()
We are in java 1.4 lets save some typing. |
static Logger |
getLogger(java.lang.Class clazz)
|
static Logger |
getLogger(java.lang.String name)
Return the native Logger instance we are using. |
void |
info(java.lang.Object message)
|
boolean |
isDebugEnabled()
|
void |
warn(java.lang.Object message)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Logger
protected Logger()
getLogger
public static Logger getLogger()
- We are in java 1.4 lets save some typing.
getLogger
public static Logger getLogger(java.lang.String name)
- Return the native Logger instance we are using.
getLogger
public static Logger getLogger(java.lang.Class clazz)
getLog
public static Logger getLog(java.lang.Class clazz)
error
public void error(java.lang.Object message)
error
public void error(java.lang.Object message,
java.lang.Throwable t)
warn
public void warn(java.lang.Object message)
info
public void info(java.lang.Object message)
isDebugEnabled
public boolean isDebugEnabled()
debug
public void debug(java.lang.Object message)
Copyright © 2004-2008 pyx4j.com. All Rights Reserved.