JTools

org.jtools.info.consumer
Class LoggerConsumer

java.lang.Object
  extended by org.jtools.info.consumer.LoggerConsumer
All Implemented Interfaces:
InfoConsumer

public class LoggerConsumer
extends Object
implements InfoConsumer


Constructor Summary
LoggerConsumer(org.jpattern.logging.Logger logger)
           
LoggerConsumer(org.jpattern.logging.Logger logger, org.jpattern.mapper.Mapper<org.jpattern.logging.Level,Severity> severityMapper)
           
 
Method Summary
 Object consume(Object ctx, InfoDeclaration declaration, Configuration config, Throwable exception, Object... args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggerConsumer

public LoggerConsumer(org.jpattern.logging.Logger logger,
                      org.jpattern.mapper.Mapper<org.jpattern.logging.Level,Severity> severityMapper)

LoggerConsumer

public LoggerConsumer(org.jpattern.logging.Logger logger)
Method Detail

consume

public Object consume(Object ctx,
                      InfoDeclaration declaration,
                      Configuration config,
                      Throwable exception,
                      Object... args)
Specified by:
consume in interface InfoConsumer

JTools

© 2000-2006, JTools.org.