|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.sape.carbon.services.log.console.ConsoleLogger
Copyright 2003 Sapient
| Field Summary | |
private String |
className
Name of the class associated with this logger |
private static LogView |
console
Reference to the view shared by all ConsoleLogger |
| Constructor Summary | |
ConsoleLogger(String name)
Constructor |
|
| Method Summary | |
void |
debug(Object message)
|
void |
debug(Object message,
Throwable exception)
|
protected void |
enqueueMessage(String sourceClass,
SeverityEnum severity,
Object message)
|
void |
error(Object message)
|
void |
error(Object message,
Throwable exception)
|
void |
fatal(Object message)
|
void |
fatal(Object message,
Throwable exception)
|
void |
info(Object message)
|
void |
info(Object message,
Throwable exception)
|
boolean |
isDebugEnabled()
|
boolean |
isErrorEnabled()
|
boolean |
isFatalEnabled()
|
boolean |
isInfoEnabled()
|
protected boolean |
isLogging()
This logger logs messages at all severities |
boolean |
isTraceEnabled()
|
boolean |
isWarnEnabled()
|
void |
trace(Object message)
|
void |
trace(Object message,
Throwable exception)
|
void |
warn(Object message)
|
void |
warn(Object message,
Throwable exception)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private static LogView console
ConsoleLogger
private String className
| Constructor Detail |
public ConsoleLogger(String name)
name - The class name with which this logger is associated| Method Detail |
public void debug(Object message)
debug in interface org.apache.commons.logging.LogLog.debug(Object)public void error(Object message)
error in interface org.apache.commons.logging.LogLog.error(Object)public void fatal(Object message)
fatal in interface org.apache.commons.logging.LogLog.fatal(Object)public void info(Object message)
info in interface org.apache.commons.logging.LogLog.info(Object)public void trace(Object message)
trace in interface org.apache.commons.logging.LogLog.trace(Object)public void warn(Object message)
warn in interface org.apache.commons.logging.LogLog.warn(Object)
protected void enqueueMessage(String sourceClass,
SeverityEnum severity,
Object message)
public boolean isDebugEnabled()
isDebugEnabled in interface org.apache.commons.logging.LogLog.isDebugEnabled()public boolean isErrorEnabled()
isErrorEnabled in interface org.apache.commons.logging.LogLog.isErrorEnabled()public boolean isFatalEnabled()
isFatalEnabled in interface org.apache.commons.logging.LogLog.isFatalEnabled()public boolean isInfoEnabled()
isInfoEnabled in interface org.apache.commons.logging.LogLog.isInfoEnabled()public boolean isTraceEnabled()
isTraceEnabled in interface org.apache.commons.logging.LogLog.isTraceEnabled()public boolean isWarnEnabled()
isWarnEnabled in interface org.apache.commons.logging.LogLog.isWarnEnabled()protected boolean isLogging()
public void debug(Object message,
Throwable exception)
debug in interface org.apache.commons.logging.LogLog.debug(Object, Throwable)
public void error(Object message,
Throwable exception)
error in interface org.apache.commons.logging.LogLog.error(Object, Throwable)
public void fatal(Object message,
Throwable exception)
fatal in interface org.apache.commons.logging.LogLog.fatal(Object, Throwable)
public void info(Object message,
Throwable exception)
info in interface org.apache.commons.logging.LogLog.info(Object, Throwable)
public void trace(Object message,
Throwable exception)
trace in interface org.apache.commons.logging.LogLog.trace(Object, Throwable)
public void warn(Object message,
Throwable exception)
warn in interface org.apache.commons.logging.LogLog.warn(Object, Throwable)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||