iohk-monitoring-0.1.10.1: logging, benchmarking and monitoring framework
Safe HaskellNone
LanguageHaskell2010

Cardano.BM.Internal.ElidingTracer

Documentation

class ElidingTracer a where Source #

Minimal complete definition

doelide, isEquivalent

Methods

doelide :: a -> Bool Source #

isEquivalent :: a -> a -> Bool Source #

newstate :: IO (MVar (Maybe a, Integer)) Source #

default newstate :: IO (MVar (Maybe a, Integer)) Source #

starteliding :: (ToObject t, Transformable t IO a) => TracingVerbosity -> Trace IO t -> a -> IO (Maybe a, Integer) Source #

conteliding :: (ToObject t, Transformable t IO a) => TracingVerbosity -> Trace IO t -> a -> (Maybe a, Integer) -> IO (Maybe a, Integer) Source #

default conteliding :: Transformable t IO a => TracingVerbosity -> Trace IO t -> a -> (Maybe a, Integer) -> IO (Maybe a, Integer) Source #

stopeliding :: (ToObject t, Transformable t IO a) => TracingVerbosity -> Trace IO t -> a -> (Maybe a, Integer) -> IO (Maybe a, Integer) Source #

default stopeliding :: (ToObject t, Transformable t IO a) => TracingVerbosity -> Trace IO t -> a -> (Maybe a, Integer) -> IO (Maybe a, Integer) Source #

reportelided :: (ToObject t, Transformable t IO a) => TracingVerbosity -> Trace IO t -> a -> Integer -> IO () Source #

default reportelided :: (ToObject t, Transformable t IO a) => TracingVerbosity -> Trace IO t -> a -> Integer -> IO () Source #

elideToLogObject :: (ToObject t, Transformable t IO a) => TracingVerbosity -> MVar (Maybe a, Integer) -> Trace IO t -> Tracer IO a Source #