Cabal-1.22.5.0: A framework for packaging Haskell software

Copyright | Ian Lynagh 2007
License | BSD3
Maintainer | cabal-devel@haskell.org
Portability | portable
Safe Haskell | Safe
Language | Haskell98

Distribution.Verbosity

Contents

- Verbosity

Description

A simple `Verbosity` type with associated utilities. There are 4 standard verbosity levels from `silent`, `normal`, `verbose` up to `deafening`. This is used for deciding what logging messages to print.

Synopsis

- data Verbosity
- silent :: Verbosity
- normal :: Verbosity
- verbose :: Verbosity
- deafening :: Verbosity
- moreVerbose :: Verbosity -> Verbosity
- lessVerbose :: Verbosity -> Verbosity
- intToVerbosity :: Int -> Maybe Verbosity
- flagToVerbosity :: ReadE Verbosity
- showForCabal :: Verbosity -> String
- showForGHC :: Verbosity -> String

# Verbosity

data Verbosity Source

Instances

Bounded Verbosity Source |
Enum Verbosity Source |
Eq Verbosity Source |
Ord Verbosity Source |
Read Verbosity Source |
Show Verbosity Source |
Generic Verbosity Source |
Binary Verbosity Source |
type Rep Verbosity Source |

silent :: Verbosity Source

normal :: Verbosity Source

verbose :: Verbosity Source

deafening :: Verbosity Source

moreVerbose :: Verbosity -> Verbosity Source

lessVerbose :: Verbosity -> Verbosity Source

intToVerbosity :: Int -> Maybe Verbosity Source

flagToVerbosity :: ReadE Verbosity Source

showForCabal :: Verbosity -> String Source

showForGHC :: Verbosity -> String Source