hsyslog

FFI interface to syslog(3) from POSIX.1-2001

http://github.com/peti/hsyslog

Version on this page:5.0.1
LTS Haskell 23.1:5.0.2@rev:1
Stackage Nightly 2024-12-22:5.0.2@rev:1
Latest on Hackage:5.0.2@rev:1

See all snapshots hsyslog appears in

BSD-3-Clause licensed by Peter Simons, John Lato, Jonathan Childress
Maintained by Peter Simons
This version can be pinned in stack with:hsyslog-5.0.1@sha256:ed611d0accc020857ce229fb98b6f295a9e413c50a8eb43fa16b98df4c84a840,2653

Module documentation for 5.0.1

  • System
    • System.Posix
      • System.Posix.Syslog
        • System.Posix.Syslog.Facility
        • System.Posix.Syslog.Functions
        • System.Posix.Syslog.LogMask
        • System.Posix.Syslog.Options
        • System.Posix.Syslog.Priority

A Haskell interface to syslog(3) as specified in POSIX.1-2008. The entire public API lives in System.Posix.Syslog. There is a set of exposed modules available underneath that one, which contain various implementation details that may be useful to other developers who want to implement syslog-related functionality. Users of syslog, however, do not need them.

An example program that demonstrates how to use this library is available in the examples directory of this package.