com.rubecula.darwin.domain.helper
Class Census_Log

java.lang.Object
  extended by com.rubecula.darwin.domain.helper.Census_
      extended by com.rubecula.darwin.domain.helper.Census_Log
All Implemented Interfaces:
Census

public final class Census_Log
extends Census_

Author:
Robin Hillyard

Constructor Summary
Census_Log(org.apache.commons.logging.Log logger, boolean debug)
           
 
Method Summary
 void present(java.lang.String string, java.lang.Object context)
          Append the string to the current census.
 
Methods inherited from class com.rubecula.darwin.domain.helper.Census_
census, doCensus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Census_Log

public Census_Log(org.apache.commons.logging.Log logger,
                  boolean debug)
Parameters:
logger - a logger to output the census information.
debug - if true then use debug method to output census information, otherwise we use trace method for the output.
Method Detail

present

public void present(java.lang.String string,
                    java.lang.Object context)
Description copied from interface: Census
Append the string to the current census.

Parameters:
string -
context - an arbitrary object which defines the context in which this census is happening.
See Also:
Census.present(java.lang.String, Object)


Copyright © 2010 Rubecula Software, LLC. All Rights Reserved.