| Maintainer | simons@cryp.to |
|---|---|
| Stability | provisional |
| Portability | POSIX |
| Safe Haskell | Safe |
| Language | Haskell2010 |
System.Posix.Syslog.Priority
Contents
Description
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.
Message Priorities
Log messages are prioritized with one of the following levels:
>>>[minBound..maxBound] :: [Priority][Emergency,Alert,Critical,Error,Warning,Notice,Info,Debug]
The Ord instance for Priority considers the more urgent level lower than
less urgent ones:
>>>Emergency < DebugTrue>>>minimum [minBound..maxBound] :: PriorityEmergency>>>maximum [minBound..maxBound] :: PriorityDebug
Constructors
| Emergency | the system is unusable |
| Alert | action must be taken immediately |
| Critical | critical conditions |
| Error | error conditions |
| Warning | warning conditions |
| Notice | normal but significant condition |
| Info | informational |
| Debug | debug-level messages |