package jenga

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

This module implements the two forms of logging in jenga:

  • logging to .jenga/debug
  • printing on stdout
val init_logging : Config.t -> log_filename:string -> unit
val error : ('a, unit, string, unit) Core.format4 -> 'a
val message : ('a, unit, string, unit) Core.format4 -> 'a
val verbose : ('a, unit, string, unit) Core.format4 -> 'a
val trace : ('a, unit, string, unit) Core.format4 -> 'a
val unlogged : ('a, unit, string, unit) Core.format4 -> 'a

unlogged - no leading triple stars; not recorded in log

val printf : ('a, unit, string, unit) Core.format4 -> 'a

printf - no leading triple stars

val printf_verbose : ('a, unit, string, unit) Core.format4 -> 'a

printf_verbose - no leading triple stars; tagged verbose

val transient : ('a, unit, string, unit) Core.format4 -> 'a

Progress style message - will be overwritten by next transient or normal message

val clear_transient : unit -> unit
val job_started : need:string -> where:string -> prog:string -> args:string list -> sandboxed:bool -> Job_summary.Start.t
val job_finished : Job_summary.Start.t -> outcome:[ `success | `error of string ] -> duration:Core.Time.Span.t -> stdout:string -> stderr:string -> Job_summary.t
val repeat_job_summary : Job_summary.t -> unit
val load_jenga_root : Path.t -> unit
val load_jenga_root_done : Path.t -> Core.Time.Span.t -> unit
val build_done : duration:Core.Time.Span.t -> u:int -> total:int -> string -> Metrics.Memory.t -> unit
val build_failed : duration:Core.Time.Span.t -> u:int -> fraction:(int * int) -> string -> Metrics.Memory.t -> unit
val polling : unit -> unit
val sensitized_on : desc:string -> unit
val file_changed : desc:string -> unit
val rebuilding : unit -> unit
val var_changed : var:string -> old:string option -> new_:string option -> unit
val flushed : unit -> unit Async.Deferred.t