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

GHC 9.14.1 · lts/ghc-9.14.x · d82dee8 · 2026-10-12

Modulekes-agent-1.3.0.0Haskell2010

Cardano.KESAgent.Priority

This module defines a priority type for trace logging.

  • 1 type
  • 1 value
  • Packagekes-agent-1.3.0.0
  • Exports2
  • LanguageHaskell2010
  • LicenceApache-2.0
  • SourcePriority.hs
datadata Priority
#

Log messages are prioritized with one of the following levels:

Example1 expression
[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:

Example3 expressions
Emergency < DebugTrueminimum [minBound..maxBound] :: PriorityEmergencymaximum [minBound..maxBound] :: PriorityDebug

Constructors

Instances8Bounded, Enum, Eq, Ord, Read, Show, …