|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.globus.ogsa.impl.core.logging.OGSALog4jLog
Our Log implementing commons wrapper around the log4j log implementation
| Field Summary | |
ConsoleAppender |
consoleAppender
|
Logger |
logit
Log to this category |
PatternLayout |
thePattern
|
| Constructor Summary | |
OGSALog4jLog()
|
|
OGSALog4jLog(Logger loger,
OGSALogFactory oGSALogFactory,
java.lang.String aName)
Constructor OGSALog4jLog. |
|
OGSALog4jLog(java.lang.String name)
Base constructor |
|
| Method Summary | |
void |
debug(java.lang.Object message)
Log a message to the Log4j logger with DEBUG priority. |
void |
debug(java.lang.Object message,
java.lang.Throwable t)
Log an error to the Log4j logger with DEBUG priority. |
void |
disableDebug()
Call this method to disable debug logging level. |
void |
disableError()
Call this method to disable Error logging level. |
void |
disableFatal()
Call this method to disable Fatal logging level. |
void |
disableInfo()
Call this method to disable Info logging level. |
void |
disableTrace()
Call this method to stop tracing. |
void |
disableWarn()
Call this method to disable Warning logging level. |
void |
enableDebug()
Call this method to enable debug logging level. |
void |
enableError()
Call this method to enable Error logging level. |
void |
enableFatal()
Call this method to enable Fatal logging level. |
void |
enableInfo()
Call this method to enable Info logging level. |
void |
enableTrace()
Call this method to start tracing. |
void |
enableWarn()
Call this method to enable Warning logging level. |
void |
error(java.lang.Object message)
Log a message to the Log4j logger with ERROR priority. |
void |
error(java.lang.Object message,
java.lang.Throwable t)
Log an error to the Log4j logger with ERROR priority. |
void |
fatal(java.lang.Object message)
Log a message to the Log4j logger with FATAL priority. |
void |
fatal(java.lang.Object message,
java.lang.Throwable t)
Log an error to the Log4j logger with FATAL priority. |
Logger |
getLogger()
For use by OGSA factory |
void |
info(java.lang.Object message)
Log a message to the Log4j logger with INFO priority. |
void |
info(java.lang.Object message,
java.lang.Throwable t)
Log an error to the Log4j logger with INFO priority. |
boolean |
isDebugEnabled()
|
boolean |
isErrorEnabled()
|
boolean |
isFatalEnabled()
|
boolean |
isInfoEnabled()
|
boolean |
isTraceEnabled()
|
boolean |
isWarnEnabled()
|
void |
trace(java.lang.Object message)
Log a message to the Log4j logger with TRACE priority. |
void |
trace(java.lang.Object message,
java.lang.Throwable t)
Log an error to the Log4j logger with TRACE priority. |
void |
warn(java.lang.Object message)
Log a message to the Log4j logger with WARN priority. |
void |
warn(java.lang.Object message,
java.lang.Throwable t)
Log an error to the Log4j logger with WARN priority. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public Logger logit
public PatternLayout thePattern
public ConsoleAppender consoleAppender
| Constructor Detail |
public OGSALog4jLog()
public OGSALog4jLog(java.lang.String name)
public OGSALog4jLog(Logger loger,
OGSALogFactory oGSALogFactory,
java.lang.String aName)
loger - oGSALogFactory - | Method Detail |
public Logger getLogger()
public void trace(java.lang.Object message)
TRACE priority.
Currently logs to DEBUG level in Log4J.
public void trace(java.lang.Object message,
java.lang.Throwable t)
TRACE priority.
Currently logs to DEBUG level in Log4J.
public void debug(java.lang.Object message)
DEBUG priority.
public void debug(java.lang.Object message,
java.lang.Throwable t)
DEBUG priority.
public void info(java.lang.Object message)
INFO priority.
public void info(java.lang.Object message,
java.lang.Throwable t)
INFO priority.
public void warn(java.lang.Object message)
WARN priority.
public void warn(java.lang.Object message,
java.lang.Throwable t)
WARN priority.
public void error(java.lang.Object message)
ERROR priority.
public void error(java.lang.Object message,
java.lang.Throwable t)
ERROR priority.
public void fatal(java.lang.Object message)
FATAL priority.
public void fatal(java.lang.Object message,
java.lang.Throwable t)
FATAL priority.
public boolean isDebugEnabled()
public boolean isErrorEnabled()
public boolean isFatalEnabled()
public boolean isInfoEnabled()
public boolean isTraceEnabled()
public boolean isWarnEnabled()
public void enableTrace()
OGSALogUtilCall this method to start tracing.
enableTrace in interface OGSALogUtilpublic void disableTrace()
OGSALogUtilCall this method to stop tracing.
disableTrace in interface OGSALogUtilpublic void enableFatal()
OGSALogUtilCall this method to enable Fatal logging level.
enableFatal in interface OGSALogUtilpublic void disableFatal()
OGSALogUtilCall this method to disable Fatal logging level.
disableFatal in interface OGSALogUtilpublic void enableDebug()
OGSALogUtilCall this method to enable debug logging level.
enableDebug in interface OGSALogUtilpublic void disableDebug()
OGSALogUtilCall this method to disable debug logging level.
disableDebug in interface OGSALogUtilpublic void enableError()
OGSALogUtilCall this method to enable Error logging level.
enableError in interface OGSALogUtilpublic void disableError()
OGSALogUtilCall this method to disable Error logging level.
disableError in interface OGSALogUtilpublic void enableWarn()
OGSALogUtilCall this method to enable Warning logging level.
enableWarn in interface OGSALogUtilpublic void disableWarn()
OGSALogUtilCall this method to disable Warning logging level.
disableWarn in interface OGSALogUtilpublic void enableInfo()
OGSALogUtilCall this method to enable Info logging level.
enableInfo in interface OGSALogUtilpublic void disableInfo()
OGSALogUtilCall this method to disable Info logging level.
disableInfo in interface OGSALogUtil
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||