package async_log

  1. Overview
  2. Docs

Async_log.Ppx_log_syntax.Ppx_log_syntax exists so that people can open Async_log.Ppx_log_syntax to use ppx log, instead of doing a module alias. This is consistent with Monad.Syntax.Let_syntax.

include Ppx_log_types.S with type t = Log.t and type time = Core.Time_float.t and type return_type = unit and type Global.return_type = unit
type t = Log.t
type time = Core.Time_float.t
type return_type = unit
val default : return_type
module Global : sig ... end
module No_global : sig ... end

If you wish you prevent global logging with ppx_log, you can open this module and any use of global logging will return a warning type `Do_not_use_because_it_will_not_log (and will not actually log anything).

OCaml

Innovation. Community. Security.