asl

Bindings for the Apple System Log API
IN THIS PACKAGE
Module Asl . Message
type t

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

type ty = [
| `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.