package easy_logging

  1. Overview
  2. Docs

Module to create handlers that output to a file

type config = {
  1. logs_folder : string;
  2. truncate : bool;
  3. file_perms : int;
  4. date_prefix : string option;
  5. versioning : int option;
  6. suffix : string;
}
val default_config : config
val generate_prefix : config -> string
val generate_filename : config -> string -> string
val make : ?config:config -> Easy_logging__.Logging_types.level -> string -> t
OCaml

Innovation. Community. Security.