Module Process.Logged
val eval : ?context:Context.t -> ?capture:bool -> ?log:(Shexp_sexp.Std.Sexp.t -> unit) -> 'a t -> 'a
Call the given log function for every event. The log function default to printing to stderr.
If
capture
istrue
, then anything printed on the originalstdout
/stderr
is captured and becomes part of the trace.