org.mmbase.util.logging
Class SimpleTimeStampImpl

java.lang.Object
  extended byorg.mmbase.util.logging.AbstractSimpleImpl
      extended byorg.mmbase.util.logging.SimpleTimeStampImpl
All Implemented Interfaces:
Logger

public class SimpleTimeStampImpl
extends AbstractSimpleImpl
implements Logger

Like SimpleImpl, but also adds timestamps.

Since:
MMBase-1.7
Version:
$Id: SimpleTimeStampImpl.java,v 1.3 2005/10/02 16:42:15 michiel Exp $
Author:
Michiel Meeuwissen

Field Summary
 
Fields inherited from class org.mmbase.util.logging.AbstractSimpleImpl
level
 
Method Summary
static void configure(String c)
          The configure method of this Logger implemenation.
static SimpleTimeStampImpl getLoggerInstance(String name)
           
protected  void log(String s)
          How to write one string.
 
Methods inherited from class org.mmbase.util.logging.AbstractSimpleImpl
debug, debug, error, error, fatal, fatal, info, info, isDebugEnabled, isServiceEnabled, isTraceEnabled, log, log, log, log, service, service, setLevel, trace, trace, warn, warn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.mmbase.util.logging.Logger
debug, debug, error, error, fatal, fatal, info, info, isDebugEnabled, isServiceEnabled, isTraceEnabled, service, service, setLevel, trace, trace, warn, warn
 

Method Detail

getLoggerInstance

public static SimpleTimeStampImpl getLoggerInstance(String name)

configure

public static void configure(String c)
The configure method of this Logger implemenation.

Parameters:
c - A string, which can contain the output (stdout or stderr) and the priority (e.g. 'info')

log

protected final void log(String s)
Description copied from class: AbstractSimpleImpl
How to write one string. Only to be called by AbstractSimpleImpl.log(String, Level). Default this does nothing, you must override this, or AbstractSimpleImpl.log(String, Level).

Overrides:
log in class AbstractSimpleImpl


MMBase build 1.8.1.20060716