yet-another-logger-0.3.1: Yet Another Logger

CopyrightCopyright (c) 2016-2018 Lars Kuhtz <lakuhtz@gmail.com>
Copyright (c) 2014-2015 PivotCloud Inc.
LicenseApache License, Version 2.0
MaintainerLars Kuhtz <lakuhtz@gmail.com>
Stabilityexperimental
Safe HaskellNone
LanguageHaskell2010

System.Logger.Backend.ColorOption

Description

An option that indicates whether ANSI color escapes shall be used in textual output.

Synopsis

Documentation

data ColorOption Source #

Color Option

Instances
Bounded ColorOption Source # 
Instance details

Defined in System.Logger.Backend.ColorOption

Enum ColorOption Source # 
Instance details

Defined in System.Logger.Backend.ColorOption

Eq ColorOption Source # 
Instance details

Defined in System.Logger.Backend.ColorOption

Ord ColorOption Source # 
Instance details

Defined in System.Logger.Backend.ColorOption

Read ColorOption Source # 
Instance details

Defined in System.Logger.Backend.ColorOption

Show ColorOption Source # 
Instance details

Defined in System.Logger.Backend.ColorOption

Generic ColorOption Source # 
Instance details

Defined in System.Logger.Backend.ColorOption

Associated Types

type Rep ColorOption :: * -> * #

NFData ColorOption Source # 
Instance details

Defined in System.Logger.Backend.ColorOption

Methods

rnf :: ColorOption -> () #

ToJSON ColorOption Source # 
Instance details

Defined in System.Logger.Backend.ColorOption

FromJSON ColorOption Source # 
Instance details

Defined in System.Logger.Backend.ColorOption

type Rep ColorOption Source # 
Instance details

Defined in System.Logger.Backend.ColorOption

type Rep ColorOption = D1 (MetaData "ColorOption" "System.Logger.Backend.ColorOption" "yet-another-logger-0.3.1-9xkv1iYSnq3IJ3TK3FoqRe" False) (C1 (MetaCons "ColorAuto" PrefixI False) (U1 :: * -> *) :+: (C1 (MetaCons "ColorFalse" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "ColorTrue" PrefixI False) (U1 :: * -> *)))

pColorOption_ Source #

Arguments

:: Text

prefix for the command line options.

-> Parser ColorOption 

A version of pColorOption that takes a prefix for the command line option.

Since: yet-another-logger-0.2