|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.agilejava.blammo.StdErrLoggingKitAdapter
public class StdErrLoggingKitAdapter
An implementation of the LoggingKitAdapter
interface, logging all
messages to standard err.
Field Summary |
---|
Fields inherited from interface com.agilejava.blammo.LoggingKitAdapter |
---|
LEVEL_DEBUG, LEVEL_ERROR, LEVEL_INFO, LEVEL_WARN |
Constructor Summary | |
---|---|
StdErrLoggingKitAdapter()
|
Method Summary | |
---|---|
void |
log(java.lang.String level,
MessageProducer producer)
Logs a message, passing in the log level and the message. |
void |
log(java.lang.String level,
MessageProducer producer,
java.lang.Throwable throwable)
Logs the message, passing in the log level, the message and the Throwable . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StdErrLoggingKitAdapter()
Method Detail |
---|
public void log(java.lang.String level, MessageProducer producer)
LoggingKitAdapter
log
in interface LoggingKitAdapter
level
- The log level. (Either LoggingKitAdapter.LEVEL_DEBUG
,
LoggingKitAdapter.LEVEL_ERROR
, LoggingKitAdapter.LEVEL_INFO
or
LoggingKitAdapter.LEVEL_WARN
).producer
- The MessageProducer
producing the message.public void log(java.lang.String level, MessageProducer producer, java.lang.Throwable throwable)
LoggingKitAdapter
Throwable
.
log
in interface LoggingKitAdapter
level
- The log level. (Either LoggingKitAdapter.LEVEL_DEBUG
,
LoggingKitAdapter.LEVEL_ERROR
, LoggingKitAdapter.LEVEL_INFO
or
LoggingKitAdapter.LEVEL_WARN
).throwable
- The associated exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |