package asl

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t

A message provides context (keys, values, client ids etc) for individual logs

type ty = [
  1. | `Msg
    (*

    a regular log message

    *)
]

The type of the message

val create : ?ty:ty -> ?time:string -> ?host:string -> ?sender:string -> ?facility:string -> ?pid:string -> ?uid:string -> ?gid:string -> ?level:string -> ?msg:string -> ?extra:(string * string) list -> unit -> t

Construct a message, overriding some of the context.

OCaml

Innovation. Community. Security.