com.agilejava.blammo
Interface BlammoLogger


public interface BlammoLogger

The interface to be implemented by Blammo loggers, allowing us to plug in a certain kind of LoggingKitAdapter to facilitate a particular way of logging.

Author:
Wilfred Springer

Nested Class Summary
static class BlammoLogger.DefaultInterceptor
           
static interface BlammoLogger.Interceptor
           
 
Method Summary
 void setInterceptor(BlammoLogger.Interceptor interceptor)
          Sets an interceptor for the events.
 void setLoggingKitAdapter(LoggingKitAdapter log)
          Sets the LoggingKitAdapter to be used by this logger.
 

Method Detail

setLoggingKitAdapter

void setLoggingKitAdapter(LoggingKitAdapter log)
Sets the LoggingKitAdapter to be used by this logger.

Parameters:
log -

setInterceptor

void setInterceptor(BlammoLogger.Interceptor interceptor)
Sets an interceptor for the events. Whereas LoggingKitAdapters are expected to always log the event, interceptors can decide wether the event should be logged at all. Events are identified by id.



Copyright © 2008. All Rights Reserved.