package acgtk

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

Module UtilsLib.XlogSource

A Logs.LOG module that includes its source

Sourcemodule type MyLOG = sig ... end
Sourceval log_pairs : src:Logs.src -> Logs.level -> ((('a -> 'b -> 'c, Format.formatter, unit, unit) format4 -> (('d -> 'a) * 'd) -> (('e -> 'b) * 'e) -> 'c) -> unit) -> unit
Sourceval setup_log : app:string -> render_mark:(Style.style_tag list -> string) -> ?colored:bool -> Logs.level -> Format.formatter -> unit

setup_log ~app f l sets the log level to l and provides the name app to the default application log, for the formatter f.

Sourceval setup_log_std : app:string -> render_mark:(Style.style_tag list -> string) -> ?colored:bool -> Logs.level -> unit

setup_log ~app f l sets the log level to l and provides the name app to the default application log, for the formatter Format.std_formatter.

Sourcemodule Make (_ : sig ... end) : MyLOG