package simlog

  1. Overview
  2. Docs

Module Simlog.RecorderSource

Sourcemodule Level : sig ... end

The logger gets the time, Queue traces, level, thread information, and so on

Sourcemodule Trace : sig ... end
Sourcetype record = {
  1. time : float option;
  2. trace : Trace.t option;
  3. thread : Thread.t option;
  4. level : Level.t;
  5. log_message : string;
}
Sourceand t = record
Sourcetype opt = {
  1. time : bool;
  2. trace : bool;
  3. thread : bool;
}

Some log information is optional, you can configure whether to record the corresponding information through this module

Sourcemodule type T = sig ... end
Sourceval record : opt:opt -> level:Level.t -> string -> t
Sourcemodule Builtin : sig ... end
OCaml

Innovation. Community. Security.