#import #import "Logging.h" #import "DecayingSampleEstimator.h" @interface LoggingUtil : NSObject +(id) throttleValueLogger:(id)valueLogger discardingAfterEventForDuration:(NSTimeInterval)duration; +(id) throttleOccurrenceLogger:(id)occurrenceLogger discardingAfterEventForDuration:(NSTimeInterval)duration; +(id) getAccumulatingValueLoggerTo:(id)logging named:(id)valueIdentity from:(id)sender; +(id) getDifferenceValueLoggerTo:(id)logging named:(id)valueIdentity from:(id)sender; +(id) getAveragingValueLoggerTo:(id)logging named:(id)valueIdentity from:(id)sender; +(id) getValueEstimateLoggerTo:(id)logging named:(id)valueIdentity from:(id)sender withEstimator:(DecayingSampleEstimator*)estimator; +(id) getMagnitudeDecayingToZeroValueLoggerTo:(id)logging named:(id)valueIdentity from:(id)sender withDecayFactor:(double)decayFactorPerSample; @end