package riot

  1. Overview
  2. Docs
An actor-model multi-core scheduler for OCaml 5

Install

Dune Dependency

Authors

Maintainers

Sources

riot-0.0.4.tbz
sha256=bd196369f74bbc42f23d262030d5fa04c03f5f00c46bf944f0dcbc193745976f
sha512=f1ca69e05b57e83a1bd173efe51b745d331355a83381e6068743a7626e45dcf515cdd8947180051bddfe9f5727c2732aa0f01a093b04cf33fa4081d32f24fd65

doc/logger/Logger/index.html

Module LoggerSource

Sourcetype opts = {
  1. print_source : bool;
  2. print_time : bool;
  3. color_output : bool;
}
Sourcetype ('a, 'b) logger_format = (('a, Stdlib.Format.formatter, unit, 'b) Stdlib.format4 -> 'a) -> 'b
Sourcetype namespace = string list
Sourcetype level =
  1. | Debug
  2. | Error
  3. | Info
  4. | Trace
  5. | Warn
Sourcemodule Level : sig ... end
Sourcetype log = {
  1. level : level;
  2. ts : Ptime.t;
  3. src : Core.Scheduler_uid.t * Core.Pid.t;
  4. ns : namespace;
  5. message : string;
}
Sourceval set_on_log : (log -> unit) -> unit
Sourcemodule type Intf = sig ... end
Sourcemodule type Namespace = sig ... end
Sourcemodule Make (_ : Namespace) : Intf
Sourceval set_log_level : level option -> unit
Sourceval debug : ('a, unit) logger_format -> unit
Sourceval error : ('a, unit) logger_format -> unit
Sourceval info : ('a, unit) logger_format -> unit
Sourceval trace : ('a, unit) logger_format -> unit
Sourceval warn : ('a, unit) logger_format -> unit
OCaml

Innovation. Community. Security.