Adds a message object to a trace
Moduletrace-dispatcher-2.13.2Haskell2010
Cardano.Logging.Trace
Synopsis
- value traceWith
- value withLoggingContext
- value filterTrace
- value filterTraceMaybe
- value filterTraceBySeverity
- value filterTraceByPrivacy
- value setSeverity
- value withSeverity
- value privately
- value setPrivacy
- value withPrivacy
- value allPublic
- value allConfidential
- value setDetails
- value withDetails
- value contramapM
- value contramapMCond
- value contramapM'
- value foldTraceM
- value foldCondTraceM
- value routingTrace
- value withNames
- value appendPrefixName
- value appendPrefixNames
- value appendInnerName
- value appendInnerNames
- value withInnerNames
- value contramap'
- value >!$!<
- Packagetrace-dispatcher-2.13.2
- Exports29
- LanguageHaskell2010
- LicenceApache-2.0
- SourceTrace.hs
Sets a new logging context for this message
Sets severity for the messages in this trace
Sets severities for the messages in this trace based on the MetaTrace class
Sets privacy Confidential for the messages in this trace
Sets privacy for the messages in this trace
Sets privacy for the messages in this trace based on the MetaTrace class
Sets detail level for the messages in this trace
Sets detail level for the messages in this trace based on the message
Contramap a monadic function over a trace
Contramap a monadic function over a trace Can as well filter out messages
Folds the monadic cata function with acc over a. Uses an MVar to store the state
Like foldTraceM, but filter the trace by a predicate.
Allows to route to different tracers, based on the message being processed. The second argument must mappend all possible tracers of the first argument to one tracer. This is required for the configuration!
Sets names for the messages in this trace based on the selector function and appends the provided names to the context.
Appends a name to the context.
E.g. appendName "specific" $ appendName "middle" $ appendName "general" tracer
give the result: general.middle.specific.
Appends all names to the context.
Appends all names to the context.
Sets names for the messages in this trace based on the selector function
A contramap' which is strict in its second argument and its result captures a common pattern to avoid unintentionally leaking space when composing tracers. The infix alias is (>!$!<).
A contramap' which is strict in its second argument and its result captures a common pattern to avoid unintentionally leaking space when composing tracers. The infix alias is (>!$!<).