|
System.Console.CmdArgs.Verbosity |
|
|
Description |
A module to deal with verbosity, how 'chatty' a program should be.
This module defines the Verbosity data type, along with functions
for manipulating a global verbosity value.
|
|
Synopsis |
|
|
|
Documentation |
|
|
The verbosity data type
| Constructors | Quiet | Only output essential messages (typically errors)
| Normal | Output normal messages (typically errors and warnings)
| Loud | Output lots of messages (typically errors, warnings and status updates)
|
| Instances | |
|
|
|
Set the global verbosity.
|
|
|
Get the global verbosity. Initially Normal before any calls to setVerbosity.
|
|
|
Used to test if warnings should be output to the user.
True if the verbosity is set to Normal or Loud (when --quiet is not specified).
|
|
|
Used to test if status updates should be output to the user.
True if the verbosity is set to Loud (when --verbose is specified).
|
|
|
An action to perform if the verbosity is normal or higher, based on isNormal.
|
|
|
An action to perform if the verbosity is loud, based on isLoud.
|
|
Produced by Haddock version 2.6.1 |