|
|||||||||||
| 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 | |
org.apache.log4j.ConsoleAppender |
consoleAppender
|
org.apache.log4j.Logger |
logit
Log to this category |
org.apache.log4j.PatternLayout |
thePattern
|
| Constructor Summary | |
OGSALog4jLog()
|
|
OGSALog4jLog(org.apache.log4j.Logger loger)
For use with a log4j factory |
|
OGSALog4jLog(org.apache.log4j.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. |
org.apache.log4j.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 org.apache.log4j.Logger logit
public org.apache.log4j.PatternLayout thePattern
public org.apache.log4j.ConsoleAppender consoleAppender
| Constructor Detail |
public OGSALog4jLog()
public OGSALog4jLog(java.lang.String name)
public OGSALog4jLog(org.apache.log4j.Logger loger,
OGSALogFactory oGSALogFactory,
java.lang.String aName)
loger - oGSALogFactory - public OGSALog4jLog(org.apache.log4j.Logger loger)
| Method Detail |
public org.apache.log4j.Logger getLogger()
public void trace(java.lang.Object message)
TRACE priority.
Currently logs to DEBUG level in Log4J.
trace in interface org.apache.commons.logging.Log
public void trace(java.lang.Object message,
java.lang.Throwable t)
TRACE priority.
Currently logs to DEBUG level in Log4J.
trace in interface org.apache.commons.logging.Logpublic void debug(java.lang.Object message)
DEBUG priority.
debug in interface org.apache.commons.logging.Log
public void debug(java.lang.Object message,
java.lang.Throwable t)
DEBUG priority.
debug in interface org.apache.commons.logging.Logpublic void info(java.lang.Object message)
INFO priority.
info in interface org.apache.commons.logging.Log
public void info(java.lang.Object message,
java.lang.Throwable t)
INFO priority.
info in interface org.apache.commons.logging.Logpublic void warn(java.lang.Object message)
WARN priority.
warn in interface org.apache.commons.logging.Log
public void warn(java.lang.Object message,
java.lang.Throwable t)
WARN priority.
warn in interface org.apache.commons.logging.Logpublic void error(java.lang.Object message)
ERROR priority.
error in interface org.apache.commons.logging.Log
public void error(java.lang.Object message,
java.lang.Throwable t)
ERROR priority.
error in interface org.apache.commons.logging.Logpublic void fatal(java.lang.Object message)
FATAL priority.
fatal in interface org.apache.commons.logging.Log
public void fatal(java.lang.Object message,
java.lang.Throwable t)
FATAL priority.
fatal in interface org.apache.commons.logging.Logpublic boolean isDebugEnabled()
isDebugEnabled in interface org.apache.commons.logging.Logpublic boolean isErrorEnabled()
isErrorEnabled in interface org.apache.commons.logging.Logpublic boolean isFatalEnabled()
isFatalEnabled in interface org.apache.commons.logging.Logpublic boolean isInfoEnabled()
isInfoEnabled in interface org.apache.commons.logging.Logpublic boolean isTraceEnabled()
isTraceEnabled in interface org.apache.commons.logging.Logpublic boolean isWarnEnabled()
isWarnEnabled in interface org.apache.commons.logging.Logpublic 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 | ||||||||||