package riot

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

Install

Dune Dependency

Authors

Maintainers

Sources

riot-0.0.3.tbz
sha256=6201ce27997ec1c4b4509782c6be2fa2bf102b804b11dcbf9ebdb49a123c19c3
sha512=ad70a67601a892700e461efe57484d109b1d08e30d15464ad8611e71dd568c934d3f948afd645e096e4f97ad1935aaeaf5d9b6d9d59c52a82eeb5c4995421646

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.