package asl
Bindings for the Apple System Log API
Install
Dune Dependency
Authors
Maintainers
Sources
asl-0.11.tbz
sha256=a4ad5b380a0e482c9b98ecaa3791c7856f353c0527856dad3705c121ff11cfc5
md5=db64cc814914023a107e0ed411437af5
Description
The Apple System Log allows applications to send log messages, which can be recorded, filtered and searched.
Published: 22 May 2017
README
Bindings to the Apple System Log
This library allows you to log via the Apple System Log from OCaml programs.
A simple example:
let ident = "my program" in
let facility = "Daemon" in
let client = Asl.Client.create ~ident ~facility ~opts:[ `Stderr ] () in
let message = Asl.Message.create ~sender:"example" () in
(* ... some time later ... *)
Asl.log ~client message `Notice "hello, world!";
Please read the API documentation.
For more context, please read the Apple System Log man pages.
Dev Dependencies
None
Used by (4)
- datakit
- datakit-bridge-github
-
datakit-github
< "0.9.0"
- vpnkit
Conflicts
None
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page