tracer-transformers-0.1.0.1: tracer transformers and examples showing their use

Safe HaskellNone
LanguageHaskell2010

Control.Tracer.Transformers.WithThreadAndTime

Contents

Description

Observing events with annotations of thread id and time.

Synopsis

transformer

data WithThreadAndTime a Source #

Add some operational context, time and thread

note that this could, for example, be an instance of ToJSON or Generic or similar to project it into a more general framework

Constructors

WithThreadAndTime 

threadAndTimeTracer :: MonadIO m => Tracer m (WithThreadAndTime a) -> Tracer m a Source #

Add the time and thread to a trace observation