public class BufferedLogger extends AbstractSimpleImpl
| Modifier and Type | Class and Description |
|---|---|
protected class |
BufferedLogger.LogEntry |
| Modifier and Type | Field and Description |
|---|---|
protected static List<WeakReference<BufferedLogger>> |
instances |
level| Constructor and Description |
|---|
BufferedLogger() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
cleanup() |
String |
getDebugList() |
String |
getList(Level l)
Utitliy function to 'relog' to a String.
|
protected void |
log(String s,
Level level)
Logs a message for a certain string.
|
void |
reLog(Logger log,
boolean clear,
Date after) |
void |
setMaxAge(long ma) |
void |
setMaxSize(int ms) |
debug, debug, error, error, fatal, fatal, info, info, isDebugEnabled, isEnabledFor, isServiceEnabled, isTraceEnabled, log, log, log, service, service, setLevel, trace, trace, warn, warnprotected static List<WeakReference<BufferedLogger>> instances
public void setMaxAge(long ma)
public void setMaxSize(int ms)
protected int cleanup()
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 AbstractSimpleImplpublic String getDebugList()
MMBase 1.9-SNAPSHOT - ${javadoctimestamp}