graph-trace-0.1.0.1: Trace the call graph of a program
Safe HaskellNone
LanguageHaskell2010

Graph.Trace.Internal.Types

Synopsis

Documentation

data DebugTag Source #

Constructors

DT 

data Propagation Source #

Constructors

Mute

Does not output traces, overrides other options

Inert

Does not output traces, doesn't override other options

Shallow

Outputs traces for current scope, but does not propagate

Deep

Outputs traces and propagates to descendents

Instances

Instances details
Eq Propagation Source # 
Instance details

Defined in Graph.Trace.Internal.Types

Show Propagation Source # 
Instance details

Defined in Graph.Trace.Internal.Types

Lift Propagation Source # 
Instance details

Defined in Graph.Trace.Internal.Types

data SrcCodeLoc Source #

Constructors

SrcCodeLoc 

Instances

Instances details
Lift SrcCodeLoc Source # 
Instance details

Defined in Graph.Trace.Internal.Types

type DebugIP = (?_debug_ip :: Maybe DebugContext, HasCallStack) Source #

type TraceKey (key :: Symbol) = DebugIP Source #

data Event Source #

Constructors

EntryEvent 

Fields

TraceEvent !DebugTag !MessageContent !(Maybe CallSite) 

eventToLogStr :: Event -> Builder Source #

Serialize an Event. The § character is used as both a separator and terminator. Don't use this character in trace messages, it will break!