package asl

Not available on OCaml 5.5
  1. Overview
  2. Docs
Bindings for the Apple System Log API

Install

dune-project
 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.

Added to opam-repository:

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.

Dependencies (5)

  1. jbuilder >= "1.0+beta9"
  2. ocamlfind build
  3. logs
  4. result
  5. ocaml

Dev Dependencies

None

Optional Dependencies

None

Used by

None

Conflicts

None

Build status

Results of building asl with each compiler on check.ci.ocaml.org, run of against opam-repository 7cdc698. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
0.11 (this version) good good n/a n/a n/a
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure