|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.dpml.http.LogAdapter
Wrapper to redirect Jetty logging to standard JVM logging.
Constructor Summary | |
LogAdapter()
Creation of a new log adapter. |
Method Summary | |
void |
debug(String msg,
Object arg0,
Object arg1)
Publish an debug level log message. |
void |
debug(String message,
Throwable cause)
Publish an debug level log message. |
Logger |
getLogger(String category)
Create a logger matching the supplied category. |
void |
info(String msg,
Object arg0,
Object arg1)
Publish an info level log message. |
boolean |
isDebugEnabled()
Get the debug enabled status. |
void |
setDebugEnabled(boolean flag)
Set the debug enabled status. |
String |
toString()
Return a string representation of this logger. |
void |
warn(String msg,
Object arg0,
Object arg1)
Publish an warning level log message. |
void |
warn(String message,
Throwable error)
Publish an warning level log message. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public LogAdapter()
Method Detail |
public boolean isDebugEnabled()
isDebugEnabled
in interface Logger
public void setDebugEnabled(boolean flag)
setDebugEnabled
in interface Logger
flag
- true if debug is enabledpublic void info(String msg, Object arg0, Object arg1)
info
in interface Logger
msg
- the messagearg0
- an intial argumentarg1
- a subsequent argumentpublic void debug(String message, Throwable cause)
debug
in interface Logger
message
- the messagecause
- an exceptionpublic void debug(String msg, Object arg0, Object arg1)
debug
in interface Logger
msg
- the messagearg0
- an intial argumentarg1
- a subsequent argumentpublic void warn(String msg, Object arg0, Object arg1)
warn
in interface Logger
msg
- the messagearg0
- an intial argumentarg1
- a subsequent argumentpublic void warn(String message, Throwable error)
warn
in interface Logger
message
- the messageerror
- an exceptionpublic Logger getLogger(String category)
getLogger
in interface Logger
category
- the category name
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |