com.fatwire.gst.foundation.facade.logging
Class LogEnhancer
java.lang.Object
com.fatwire.gst.foundation.facade.logging.LogEnhancer
- All Implemented Interfaces:
- org.apache.commons.logging.Log
public class LogEnhancer
- extends Object
- implements Log
Wrapper for commons loggging Log object to extend it with the string formatting and flexible argument methods.
- Author:
- Dolf Dijkstra
Constructor Summary |
LogEnhancer(org.apache.commons.logging.Log f)
|
Method Summary |
void |
debug(Object message)
|
void |
debug(Object message,
Throwable t)
|
void |
debug(String message,
Object... args)
|
void |
debug(String message,
Throwable t,
Object... args)
|
boolean |
equals(Object obj)
|
void |
error(Object message)
|
void |
error(Object message,
Throwable t)
|
void |
error(String message,
Object... args)
|
void |
error(String message,
Throwable t,
Object... args)
|
void |
fatal(Object message)
|
void |
fatal(Object message,
Throwable t)
|
void |
fatal(String message,
Object... args)
|
void |
fatal(String message,
Throwable t,
Object... args)
|
int |
hashCode()
|
void |
info(Object message)
|
void |
info(Object message,
Throwable t)
|
void |
info(String message,
Object... args)
|
void |
info(String message,
Throwable t,
Object... args)
|
boolean |
isDebugEnabled()
|
boolean |
isErrorEnabled()
|
boolean |
isFatalEnabled()
|
boolean |
isInfoEnabled()
|
boolean |
isTraceEnabled()
|
boolean |
isWarnEnabled()
|
String |
toString()
|
void |
trace(Object message)
|
void |
trace(Object message,
Throwable t)
|
void |
trace(String message,
Object... args)
|
void |
trace(String message,
Throwable t,
Object... args)
|
void |
warn(Object message)
|
void |
warn(Object message,
Throwable t)
|
void |
warn(String message,
Object... args)
|
void |
warn(String message,
Throwable t,
Object... args)
|
LogEnhancer
public LogEnhancer(org.apache.commons.logging.Log f)
isDebugEnabled
public boolean isDebugEnabled()
- Specified by:
isDebugEnabled
in interface org.apache.commons.logging.Log
isErrorEnabled
public boolean isErrorEnabled()
- Specified by:
isErrorEnabled
in interface org.apache.commons.logging.Log
isFatalEnabled
public boolean isFatalEnabled()
- Specified by:
isFatalEnabled
in interface org.apache.commons.logging.Log
isInfoEnabled
public boolean isInfoEnabled()
- Specified by:
isInfoEnabled
in interface org.apache.commons.logging.Log
isTraceEnabled
public boolean isTraceEnabled()
- Specified by:
isTraceEnabled
in interface org.apache.commons.logging.Log
isWarnEnabled
public boolean isWarnEnabled()
- Specified by:
isWarnEnabled
in interface org.apache.commons.logging.Log
trace
public void trace(Object message)
- Specified by:
trace
in interface org.apache.commons.logging.Log
trace
public void trace(Object message,
Throwable t)
- Specified by:
trace
in interface org.apache.commons.logging.Log
debug
public void debug(Object message)
- Specified by:
debug
in interface org.apache.commons.logging.Log
debug
public void debug(Object message,
Throwable t)
- Specified by:
debug
in interface org.apache.commons.logging.Log
info
public void info(Object message)
- Specified by:
info
in interface org.apache.commons.logging.Log
info
public void info(Object message,
Throwable t)
- Specified by:
info
in interface org.apache.commons.logging.Log
warn
public void warn(Object message)
- Specified by:
warn
in interface org.apache.commons.logging.Log
warn
public void warn(Object message,
Throwable t)
- Specified by:
warn
in interface org.apache.commons.logging.Log
error
public void error(Object message)
- Specified by:
error
in interface org.apache.commons.logging.Log
error
public void error(Object message,
Throwable t)
- Specified by:
error
in interface org.apache.commons.logging.Log
fatal
public void fatal(Object message)
- Specified by:
fatal
in interface org.apache.commons.logging.Log
fatal
public void fatal(Object message,
Throwable t)
- Specified by:
fatal
in interface org.apache.commons.logging.Log
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
trace
public void trace(String message,
Throwable t,
Object... args)
trace
public void trace(String message,
Object... args)
debug
public void debug(String message,
Throwable t,
Object... args)
debug
public void debug(String message,
Object... args)
info
public void info(String message,
Throwable t,
Object... args)
info
public void info(String message,
Object... args)
warn
public void warn(String message,
Throwable t,
Object... args)
warn
public void warn(String message,
Object... args)
error
public void error(String message,
Throwable t,
Object... args)
error
public void error(String message,
Object... args)
fatal
public void fatal(String message,
Throwable t,
Object... args)
fatal
public void fatal(String message,
Object... args)
Copyright © 2010-2013 Oracle Corporation. All Rights Reserved.