cardano-node-1.33.0
Safe HaskellNone
LanguageHaskell2010

Cardano.Tracing.Tracers

Synopsis

Documentation

data Tracers peer localPeer blk p2p Source #

Constructors

Tracers 

Fields

data TraceOptions Source #

Instances

Instances details
Eq TraceOptions Source # 
Instance details

Defined in Cardano.Tracing.Config

Show TraceOptions Source # 
Instance details

Defined in Cardano.Tracing.Config

mkTracers ∷ ∀ blk p2p. (RunNode blk, TraceConstraints blk) ⇒ BlockConfig blk → TraceOptionsTrace IO TextNodeKernelData blk → Maybe EKGDirect → NetworkP2PMode p2p → IO (Tracers (ConnectionId RemoteAddress) (ConnectionId LocalAddress) blk p2p) Source #

Tracers for all system components.

nullTracersP2PTracers peer localPeer blk 'P2P Source #

nullTracersNonP2PTracers peer localPeer blk NonP2P Source #

traceCounterTextTrace IO TextIntIO () Source #

Orphan instances

Show a ⇒ Show (WithSeverity a) Source # 
Instance details

Methods

showsPrecInt → WithSeverity a → ShowS Source #

show ∷ WithSeverity a → String Source #

showList ∷ [WithSeverity a] → ShowS Source #

(StandardHash header, Eq peer) ⇒ ElidingTracer (WithSeverity [TraceLabelPeer peer (FetchDecision [Point header])]) Source # 
Instance details

Methods

doelide ∷ WithSeverity [TraceLabelPeer peer (FetchDecision [Point header])] → Bool

isEquivalent ∷ WithSeverity [TraceLabelPeer peer (FetchDecision [Point header])] → WithSeverity [TraceLabelPeer peer (FetchDecision [Point header])] → Bool

newstateIO (MVar (Maybe (WithSeverity [TraceLabelPeer peer (FetchDecision [Point header])]), Integer))

starteliding ∷ (ToObject t, Transformable t IO (WithSeverity [TraceLabelPeer peer (FetchDecision [Point header])])) ⇒ TracingVerbosityTrace IO t → WithSeverity [TraceLabelPeer peer (FetchDecision [Point header])] → IO (Maybe (WithSeverity [TraceLabelPeer peer (FetchDecision [Point header])]), Integer)

conteliding ∷ (ToObject t, Transformable t IO (WithSeverity [TraceLabelPeer peer (FetchDecision [Point header])])) ⇒ TracingVerbosityTrace IO t → WithSeverity [TraceLabelPeer peer (FetchDecision [Point header])] → (Maybe (WithSeverity [TraceLabelPeer peer (FetchDecision [Point header])]), Integer) → IO (Maybe (WithSeverity [TraceLabelPeer peer (FetchDecision [Point header])]), Integer)

stopeliding ∷ (ToObject t, Transformable t IO (WithSeverity [TraceLabelPeer peer (FetchDecision [Point header])])) ⇒ TracingVerbosityTrace IO t → WithSeverity [TraceLabelPeer peer (FetchDecision [Point header])] → (Maybe (WithSeverity [TraceLabelPeer peer (FetchDecision [Point header])]), Integer) → IO (Maybe (WithSeverity [TraceLabelPeer peer (FetchDecision [Point header])]), Integer)

reportelided ∷ (ToObject t, Transformable t IO (WithSeverity [TraceLabelPeer peer (FetchDecision [Point header])])) ⇒ TracingVerbosityTrace IO t → WithSeverity [TraceLabelPeer peer (FetchDecision [Point header])] → IntegerIO ()

elideToLogObject ∷ (ToObject t, Transformable t IO (WithSeverity [TraceLabelPeer peer (FetchDecision [Point header])])) ⇒ TracingVerbosityMVar (Maybe (WithSeverity [TraceLabelPeer peer (FetchDecision [Point header])]), Integer) → Trace IO t → Tracer IO (WithSeverity [TraceLabelPeer peer (FetchDecision [Point header])])

ElidingTracer (WithSeverity (TraceEvent blk)) Source # 
Instance details

Methods

doelide ∷ WithSeverity (TraceEvent blk) → Bool

isEquivalent ∷ WithSeverity (TraceEvent blk) → WithSeverity (TraceEvent blk) → Bool

newstateIO (MVar (Maybe (WithSeverity (TraceEvent blk)), Integer))

starteliding ∷ (ToObject t, Transformable t IO (WithSeverity (TraceEvent blk))) ⇒ TracingVerbosityTrace IO t → WithSeverity (TraceEvent blk) → IO (Maybe (WithSeverity (TraceEvent blk)), Integer)

conteliding ∷ (ToObject t, Transformable t IO (WithSeverity (TraceEvent blk))) ⇒ TracingVerbosityTrace IO t → WithSeverity (TraceEvent blk) → (Maybe (WithSeverity (TraceEvent blk)), Integer) → IO (Maybe (WithSeverity (TraceEvent blk)), Integer)

stopeliding ∷ (ToObject t, Transformable t IO (WithSeverity (TraceEvent blk))) ⇒ TracingVerbosityTrace IO t → WithSeverity (TraceEvent blk) → (Maybe (WithSeverity (TraceEvent blk)), Integer) → IO (Maybe (WithSeverity (TraceEvent blk)), Integer)

reportelided ∷ (ToObject t, Transformable t IO (WithSeverity (TraceEvent blk))) ⇒ TracingVerbosityTrace IO t → WithSeverity (TraceEvent blk) → IntegerIO ()

elideToLogObject ∷ (ToObject t, Transformable t IO (WithSeverity (TraceEvent blk))) ⇒ TracingVerbosityMVar (Maybe (WithSeverity (TraceEvent blk)), Integer) → Trace IO t → Tracer IO (WithSeverity (TraceEvent blk))