Module Stdune.LogSource

Log file

Sourcemodule Message : sig ... end
Sourcemodule File : sig ... end
Sourceval init : File.t -> unit

Initialise the log file

Sourceval log : (unit -> Message.t) -> unit

Print the message only the log file (despite verbose mode) if it's set

Sourceval set_forward_verbose : (string -> (string * Dyn.t) list -> unit) -> unit
Sourceval info : string -> (string * Dyn.t) list -> unit
Sourceval warn : string -> (string * Dyn.t) list -> unit
Sourceval command : command_line:string -> output:string -> exit_status:Unix.process_status -> unit

Print an executed command in the log

Sourceval verbose_message : string -> (string * Dyn.t) list -> unit
Sourceval verbose : bool ref

Whether we are running in verbose mode