Safe Haskell | None |
---|---|
Language | GHC2021 |
Synopsis
- data ReportReadErrorsSwitch
- data CommandLoggingP (p :: ConfigPhase) = MkCommandLoggingP {}
- type CommandLoggingArgs = CommandLoggingP 'ConfigPhaseArgs
- type CommandLoggingToml = CommandLoggingP 'ConfigPhaseToml
- type CommandLoggingMerged = CommandLoggingP 'ConfigPhaseMerged
- type CommandLoggingEnv = CommandLoggingP 'ConfigPhaseEnv
- mergeCommandLogging :: CommandLoggingArgs -> Maybe CommandLoggingToml -> CommandLoggingMerged
- toEnv :: CommandLoggingMerged -> CommandLoggingEnv
- defaultMerged :: CommandLoggingMerged
Types
data ReportReadErrorsSwitch Source #
Switch for logging read errors
Instances
Show ReportReadErrorsSwitch Source # | |
Defined in Shrun.Configuration.Data.CommandLogging showsPrec :: Int -> ReportReadErrorsSwitch -> ShowS # show :: ReportReadErrorsSwitch -> String # showList :: [ReportReadErrorsSwitch] -> ShowS # | |
Eq ReportReadErrorsSwitch Source # | |
Defined in Shrun.Configuration.Data.CommandLogging | |
Default ReportReadErrorsSwitch Source # | |
Defined in Shrun.Configuration.Data.CommandLogging | |
(k ~ An_Iso, a ~ Bool, b ~ Bool) => LabelOptic "boolIso" k ReportReadErrorsSwitch ReportReadErrorsSwitch a b Source # | |
data CommandLoggingP (p :: ConfigPhase) Source #
Holds config related to (console and file) command logging.
MkCommandLoggingP | |
|
Instances
Functions
mergeCommandLogging :: CommandLoggingArgs -> Maybe CommandLoggingToml -> CommandLoggingMerged Source #
Merges args and toml configs.
toEnv :: CommandLoggingMerged -> CommandLoggingEnv Source #
Creates env version from merged.