distributed-process-0.6.0: Cloud Haskell: Erlang-style concurrency in Haskell

Safe HaskellNone
LanguageHaskell98

Control.Distributed.Process.Management.Internal.Trace.Types

Description

Tracing/Debugging support - Types

Synopsis

Documentation

data SetTrace Source

Instances

Eq SetTrace Source 
Show SetTrace Source 
Generic SetTrace Source 
Binary SetTrace Source 
type Rep SetTrace Source 

data TraceSubject Source

Defines which processes will be traced by a given TraceFlag, either by name, or ProcessId. Choosing TraceAll is by far the most efficient approach, as the tracer process therefore avoids deciding whether or not a trace event is viable.

Constructors

TraceAll 
TraceProcs !(Set ProcessId) 
TraceNames !(Set String) 

Instances

data TraceFlags Source

Defines what will be traced. Flags that control tracing of Process events, take a TraceSubject controlling which processes should generate trace events in the target process.

Constructors

TraceFlags 

Fields

traceSpawned :: !(Maybe TraceSubject)
 
traceDied :: !(Maybe TraceSubject)
 
traceRegistered :: !(Maybe TraceSubject)
 
traceUnregistered :: !(Maybe TraceSubject)
 
traceSend :: !(Maybe TraceSubject)
 
traceRecv :: !(Maybe TraceSubject)
 
traceNodes :: !Bool
 
traceConnections :: !Bool
 

Instances

data TraceArg Source

Constructors

TraceStr String 
forall a . Show a => Trace a 

data TraceOk Source

A generic ok response from the trace coordinator.

Constructors

TraceOk 

Instances

Generic TraceOk Source 
Binary TraceOk Source 
type Rep TraceOk Source 

traceLog :: MxEventBus -> String -> IO () Source

traceLogFmt :: MxEventBus -> String -> [TraceArg] -> IO () Source