git.iko.soy/distributed-process
on master help sign in
Documentation
9290c4dTim Watson
src/Control/Distributed/Process/Debug.hs+3−3
@@ -19,8 +19,8 @@
19--
19--
20-- Tracing is disabled by default, because it carries a relatively small, but
20-- Tracing is disabled by default, because it carries a relatively small, but
21-- tangible cost. To enable tracing, the environment variable
21-- tangible cost. To enable tracing, the environment variable
22−-- @DISTRIBUTED_PROCESS_TRACE_ENABLED@ must be set to some value (the contents
22+-- @DISTRIBUTED_PROCESS_TRACE_ENABLED@ must be set to some value (actual content
23−-- are ignored). When the environment variable /is/ set, the system will
23+-- is ignored). When the environment variable /is/ set, the system will
24-- generate /trace events/ in various circumstances - see 'TraceEvent' for a
24-- generate /trace events/ in various circumstances - see 'TraceEvent' for a
25-- list of all the published events. A user can additionally publish custom
25-- list of all the published events. A user can additionally publish custom
26-- trace events in the form of 'TraceEvLog' log messages or pass custom
26-- trace events in the form of 'TraceEvLog' log messages or pass custom
@@ -113,7 +113,7 @@ module Control.Distributed.Process.Debug
113 -- * Debugging
113 -- * Debugging
114 , startTracer
114 , startTracer
115 , stopTracer
115 , stopTracer
116− -- * Sending Trace Data
116+ -- * Sending Custom Trace Data
117 , traceLog
117 , traceLog
118 , traceLogFmt
118 , traceLogFmt
119 , traceMessage
119 , traceMessage
src/Control/Distributed/Process/Internal/Trace/Remote.hs+1−1
@@ -45,7 +45,7 @@ enableTraceRemote :: ProcessId -> Process ()
45enableTraceRemote pid =
45enableTraceRemote pid =
46 getSelfPid >>= enableTrace >> relay pid
46 getSelfPid >>= enableTrace >> relay pid
47
47
48−-- | Starts a /trace relay/ process on the remote node, that forwards all trace
48+-- | Starts a /trace relay/ process on the remote node, which forwards all trace
49-- events to the registered tracer on /this/ (the calling process') node.
49-- events to the registered tracer on /this/ (the calling process') node.
50startTraceRelay :: NodeId -> Process ProcessId
50startTraceRelay :: NodeId -> Process ProcessId
51startTraceRelay nodeId = do
51startTraceRelay nodeId = do