yet-another-logger-0.4.0: Yet Another Logger

CopyrightCopyright (c) 2016-2020 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 :: Type -> Type #

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.4.0-ACYUitqy6BdGRWFNgu65SI" False) (C1 (MetaCons "ColorAuto" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "ColorFalse" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "ColorTrue" PrefixI False) (U1 :: Type -> Type)))

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: 0.2