public class WriterLogger extends AbstractSimpleImpl
StringWriter if you want to create one String.| Modifier and Type | Field and Description |
|---|---|
protected Writer |
writer |
level| Constructor and Description |
|---|
WriterLogger(Writer w) |
WriterLogger(Writer w,
Level l) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
log(String s,
Level level)
Logs a message for a certain string.
|
debug, debug, error, error, fatal, fatal, info, info, isDebugEnabled, isEnabledFor, isServiceEnabled, isTraceEnabled, log, log, log, service, service, setLevel, trace, trace, warn, warnprotected final Writer writer
public WriterLogger(Writer w)
protected void log(String s, Level level)
AbstractSimpleImplAbstractSimpleImpl.log(String) where the string is
prefixed with the level. Override this one if you want it differently.log in class AbstractSimpleImplMMBase 1.9-SNAPSHOT - ${javadoctimestamp}