| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Shrun.Configuration.Data.CommonLogging
Synopsis
- newtype Debug = MkDebug {}
- data CommonLoggingP (p :: ConfigPhase) = MkCommonLoggingP {}
- type CommonLoggingArgs = CommonLoggingP 'ConfigPhaseArgs
- type CommonLoggingToml = CommonLoggingP 'ConfigPhaseToml
- type CommonLoggingMerged = CommonLoggingP 'ConfigPhaseMerged
- type CommonLoggingEnv = CommonLoggingP 'ConfigPhaseEnv
- mergeCommonLogging :: CommonLoggingArgs -> Maybe CommonLoggingToml -> CommonLoggingMerged
- toEnv :: CommonLoggingMerged -> CommonLoggingEnv
Types
Instances
| Show Debug Source # | |
| Eq Debug Source # | |
| Pretty Debug Source # | |
| Default Debug Source # | |
Defined in Shrun.Configuration.Data.CommonLogging | |
| DecodeTOML Debug Source # | |
Defined in Shrun.Configuration.Data.CommonLogging Methods | |
| (k ~ An_Iso, a ~ Bool, b ~ Bool) => LabelOptic "unDebug" k Debug Debug a b Source # | |
Defined in Shrun.Configuration.Data.CommonLogging | |
data CommonLoggingP (p :: ConfigPhase) Source #
Holds command logging config.
Constructors
| MkCommonLoggingP | |
Instances
Functions
mergeCommonLogging :: CommonLoggingArgs -> Maybe CommonLoggingToml -> CommonLoggingMerged Source #
Merges args and toml configs.
toEnv :: CommonLoggingMerged -> CommonLoggingEnv Source #
Creates env version from merged.