package yocaml_runtime

  1. Overview
  2. Docs

Utilities for working with the Logs library in a given runtime.

Types

type level = [
  1. | `App
  2. | `Error
  3. | `Warning
  4. | `Info
  5. | `Debug
]

Describe a log-level.

Helpers

val msg : level -> string -> unit

msg level message log a message with a given message.

val setup : ?level:level -> unit -> unit

Set-up a default logger.

OCaml

Innovation. Community. Security.