| java.lang.Object org.apache.ojb.broker.util.logging.PoorMansLoggerImpl
All known Subclasses: org.apache.ojb.broker.util.logging.StringBufferLoggerImpl,
PoorMansLoggerImpl | public class PoorMansLoggerImpl implements Logger(Code) | | this is a most simple Logger implementation.
All output is directed to System.out.
author: Thomas Mahler version: $Id: PoorMansLoggerImpl.java,v 1.11.2.3 2005/12/21 22:28:16 tomdz Exp $ |
Method Summary | |
public void | configure(Configuration config) | public void | debug(Object pObject) | public void | debug(Object message, Throwable t) | public void | error(Object pObject) | public void | error(Object message, Throwable t) | public void | fatal(Object pObject) | public void | fatal(Object message, Throwable t) | protected int | getLevel() | public String | getName() | public void | info(Object pObject) | public void | info(Object message, Throwable t) | public boolean | isDebugEnabled() | public boolean | isEnabledFor(int priority) | protected void | log(String aLevel, Object obj, Throwable t) | public void | safeDebug(String message, Object obj) | public void | safeDebug(String message, Object obj, Throwable t) | public void | safeError(String message, Object obj) | public void | safeError(String message, Object obj, Throwable t) | public void | safeFatal(String message, Object obj) | public void | safeFatal(String message, Object obj, Throwable t) | public void | safeInfo(String message, Object obj) | public void | safeInfo(String message, Object obj, Throwable t) | public void | safeWarn(String message, Object obj) | public void | safeWarn(String message, Object obj, Throwable t) | void | setLevel(int pLevel) | public void | setLevel(String levelName) | public void | warn(Object pObject) | public void | warn(Object message, Throwable t) |
STR_DEBUG_MSG | final protected static String STR_DEBUG_MSG(Code) | | |
STR_ERROR_MSG | final protected static String STR_ERROR_MSG(Code) | | |
STR_FATAL_MSG | final protected static String STR_FATAL_MSG(Code) | | |
STR_INFO_MSG | final protected static String STR_INFO_MSG(Code) | | |
STR_WARN_MSG | final protected static String STR_WARN_MSG(Code) | | |
PoorMansLoggerImpl | public PoorMansLoggerImpl(String name)(Code) | | |
debug | public void debug(Object pObject)(Code) | | generate a message for loglevel DEBUG
Parameters: pObject - the message Object |
error | public void error(Object pObject)(Code) | | generate a message for loglevel ERROR
Parameters: pObject - the message Object |
fatal | public void fatal(Object pObject)(Code) | | generate a message for loglevel FATAL
Parameters: pObject - the message Object |
getLevel | protected int getLevel()(Code) | | |
info | public void info(Object pObject)(Code) | | generate a message for loglevel INFO
Parameters: pObject - the message Object |
isDebugEnabled | public boolean isDebugEnabled()(Code) | | |
isEnabledFor | public boolean isEnabledFor(int priority)(Code) | | |
setLevel | void setLevel(int pLevel)(Code) | | |
warn | public void warn(Object pObject)(Code) | | generate a message for loglevel WARN
Parameters: pObject - the message Object |
|
|