HORIZON HASKELLDocslts/ghc-9.14.x45dd5372026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 45dd537 · 2026-10-11

Modulehsyslog-5.0.2Haskell2010

System.Posix.Syslog.LogMask

FFI bindings to syslog(3) from POSIX.1-2008. This module is intended for purposes of low-level implementation. Users of this library should prefer safer and more convenient API provided by System.Posix.Syslog.

  • 2 values
  • Packagehsyslog-5.0.2
  • Exports2
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceLogMask.hs
valuetoLogMask :: [Priority] -> CInt
#

Convert a set of logging priorities into a system-dependent binary representation suitable for calling _setlogmask.

valuefromLogMask :: CInt -> [Priority]
#

Decode the the system-dependent binary representation returned by _setlogmask back into a set of logging priorities.