| java.lang.Object org.mmbase.util.logging.AbstractSimpleImpl
All known Subclasses: org.mmbase.util.logging.SimpleImpl, org.mmbase.util.logging.WriterLogger, org.mmbase.util.logging.ExceptionImpl, org.mmbase.util.logging.SimpleTimeStampImpl,
AbstractSimpleImpl | abstract public class AbstractSimpleImpl implements Logger(Code) | | Base class for simple Logger implementations (no patterns and so
on).
author: Michiel Meeuwissen since: MMBase-1.7 |
Field Summary | |
protected int | level |
Method Summary | |
public void | debug(Object m) | public void | debug(Object m, Throwable t) | public void | error(Object m) | public void | error(Object m, Throwable t) | public void | fatal(Object m) | public void | fatal(Object m, Throwable t) | public void | info(Object m) | public void | info(Object m, Throwable t) | public boolean | isDebugEnabled() | public boolean | isServiceEnabled() | public boolean | isTraceEnabled() | protected void | log(String s) How to write one string. | protected void | log(String s, Level level) Logs a message for a certain string. | protected void | log(Object s, Level level) Override to implement different stringification of objects to log. | protected void | log(Object s, Throwable t) | protected void | log(Object s, Level level, Throwable t) | public void | service(Object m) | public void | service(Object m, Throwable t) | public void | setLevel(Level p) | public void | trace(Object m) | public void | trace(Object m, Throwable t) | public void | warn(Object m) | public void | warn(Object m, Throwable t) |
level | protected int level(Code) | | since: MMBase-1.8 |
isDebugEnabled | public boolean isDebugEnabled()(Code) | | |
isServiceEnabled | public boolean isServiceEnabled()(Code) | | |
isTraceEnabled | public boolean isTraceEnabled()(Code) | | |
log | protected void log(Object s, Level level)(Code) | | Override to implement different stringification of objects to log. (default "" + s)
since: MMBase-1.8 |
|
|