org.mmbase.streams.transcoders
Class AnalyzerLogger

java.lang.Object
  extended by org.mmbase.util.logging.AbstractSimpleImpl
      extended by org.mmbase.streams.transcoders.AnalyzerLogger
All Implemented Interfaces:
Serializable, Logger

public class AnalyzerLogger
extends AbstractSimpleImpl
implements Serializable

A Logger which only wraps a Analyzer to analyze the logs.

Version:
$Id: AnalyzerLogger.java 39936 2009-11-25 14:05:18Z andre $
Author:
Michiel Meeuwissen
See Also:
Serialized Form

Field Summary
protected  Analyzer analyzer
           
protected  Node destination
           
static Logger LOG
           
protected  Node source
           
 
Fields inherited from class org.mmbase.util.logging.AbstractSimpleImpl
level
 
Constructor Summary
AnalyzerLogger(Analyzer a, Node source, Node destination)
           
 
Method Summary
 Analyzer getAnalyzer()
           
protected  void log(String s, Level level)
          Logs a message for a certain string.
 String toString()
           
 
Methods inherited from class org.mmbase.util.logging.AbstractSimpleImpl
debug, debug, error, error, fatal, fatal, getMDC, info, info, isDebugEnabled, isEnabledFor, isServiceEnabled, isTraceEnabled, log, log, log, service, service, setLevel, trace, trace, warn, warn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LOG

public static final Logger LOG

analyzer

protected final Analyzer analyzer

source

protected final Node source

destination

protected final Node destination
Constructor Detail

AnalyzerLogger

public AnalyzerLogger(Analyzer a,
                      Node source,
                      Node destination)
Method Detail

log

protected void log(String s,
                   Level level)
Description copied from class: AbstractSimpleImpl
Logs a message for a certain string. Default calls AbstractSimpleImpl.log(String) where the string is prefixed with the level. Override this one if you want it differently.

Overrides:
log in class AbstractSimpleImpl

getAnalyzer

public Analyzer getAnalyzer()

toString

public String toString()
Overrides:
toString in class Object


MMBase 2.0-SNAPSHOT - null