MissingH API ManualContentsIndex
MissingH.Logging
Portability portable
Stability experimental
Maintainer jgoerzen@complete.org
Contents
Types
Description

Haskell Logging Framework

Written by John Goerzen, jgoerzen@complete.org

This module defines basic types used for logging.

This API is new and in a state of flux.

Extensive documentation is available in MissingH.Logging.Logger.

Synopsis
data Priority
= DEBUG
| INFO
| NOTICE
| WARNING
| ERROR
| CRITICAL
| ALERT
| EMERGENCY
type LogRecord = (Priority, String)
Types
data Priority

Priorities are used to define how important a log messgae is. Users can filter log messages based on priorities.

These have their roots on the traditional syslog system. The standard definitions are given below, but you are free to interpret them however you like. They are listed here in ascending importance order.

Constructors
DEBUGDebug messages
INFOInformation
NOTICENormal runtime conditions
WARNINGGeneral Warnings
ERRORGeneral Errors
CRITICALSevere situations
ALERTTake immediate action
EMERGENCYSystem is unusable
Instances
Eq Priority
Ord Priority
Show Priority
Read Priority
type LogRecord = (Priority, String)
Internal type of log records
Produced by Haddock version 0.6