hslogger-1.0.5: Versatile logging frameworkSource codeContentsIndex
System.Log
Portabilityportable
Stabilityexperimental
MaintainerJohn Goerzen <jgoerzen@complete.org>
Contents
Types
Description

Haskell Logging Framework

Written by John Goerzen, jgoerzen@complete.org

This module defines basic types used for logging.

Extensive documentation is available in System.Log.Logger.

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

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
show/hide Instances
type LogRecord = (Priority, String)Source
Internal type of log records
Produced by Haddock version 2.3.0