Module Dune_util.LogSource

Log file

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

Initialise the log file

Sourceval init_disabled : unit -> unit

Initialise this module with a disabled logger, i.e. swallowing error messages.

Sourceval info_user_message : Stdune.User_message.t -> unit

Print an informative message in the log

info paragraphs is a short-hand for:

 info_user_message (User_message.make paragraphs) 
Sourceval command : command_line:string -> output:string -> exit_status:Unix.process_status -> unit

Print an executed command in the log

Sourceval verbose : bool ref

Whether we are running in verbose mode