| java.lang.Object org.mmbase.util.logging.AbstractSimpleImpl org.mmbase.util.logging.SimpleImpl
SimpleImpl | public class SimpleImpl extends AbstractSimpleImpl implements Logger(Code) | | A very simple implementation of Logger. It writes everything to
standard output or standard error (the configure string can contain
`stderr' or `stdout' (default)). It does not know categories (and
therefore is a Singleton class). It is possible to configure what
should be logged as well (with a level-string token in the
configure string).
author: Michiel Meeuwissen version: $Id: SimpleImpl.java,v 1.12 2005/10/02 16:42:15 michiel Exp $ since: MMBase-1.4 |
Method Summary | |
public static void | configure(String c) The configure method of this Logger implemenation.
Parameters: c - A string, which can contain the output (stdout orstderr) and the priority (e.g. | public static SimpleImpl | getLoggerInstance(String name) | final protected void | log(String s) |
configure | public static void configure(String c)(Code) | | The configure method of this Logger implemenation.
Parameters: c - A string, which can contain the output (stdout orstderr) and the priority (e.g. 'info') |
Fields inherited from org.mmbase.util.logging.AbstractSimpleImpl | protected int level(Code)(Java Doc)
|
Methods inherited from org.mmbase.util.logging.AbstractSimpleImpl | public void debug(Object m)(Code)(Java Doc) public void debug(Object m, Throwable t)(Code)(Java Doc) public void error(Object m)(Code)(Java Doc) public void error(Object m, Throwable t)(Code)(Java Doc) public void fatal(Object m)(Code)(Java Doc) public void fatal(Object m, Throwable t)(Code)(Java Doc) public void info(Object m)(Code)(Java Doc) public void info(Object m, Throwable t)(Code)(Java Doc) public boolean isDebugEnabled()(Code)(Java Doc) public boolean isServiceEnabled()(Code)(Java Doc) public boolean isTraceEnabled()(Code)(Java Doc) protected void log(String s)(Code)(Java Doc) protected void log(String s, Level level)(Code)(Java Doc) protected void log(Object s, Level level)(Code)(Java Doc) protected void log(Object s, Throwable t)(Code)(Java Doc) protected void log(Object s, Level level, Throwable t)(Code)(Java Doc) public void service(Object m)(Code)(Java Doc) public void service(Object m, Throwable t)(Code)(Java Doc) public void setLevel(Level p)(Code)(Java Doc) public void trace(Object m)(Code)(Java Doc) public void trace(Object m, Throwable t)(Code)(Java Doc) public void warn(Object m)(Code)(Java Doc) public void warn(Object m, Throwable t)(Code)(Java Doc)
|
|
|