Safe Haskell | None |
---|---|
Language | GHC2021 |
Synopsis
- data ConsoleLoggingP (p :: ConfigPhase) = MkConsoleLoggingP {}
- type ConsoleLoggingArgs = ConsoleLoggingP 'ConfigPhaseArgs
- type ConsoleLoggingToml = ConsoleLoggingP 'ConfigPhaseToml
- type ConsoleLoggingMerged = ConsoleLoggingP 'ConfigPhaseMerged
- type ConsoleLoggingEnv = ConsoleLoggingP 'ConfigPhaseEnv
- data ConsoleLogCmdSwitch
- mergeConsoleLogging :: (HasCallStack, MonadTerminal m) => ConsoleLoggingArgs -> Maybe ConsoleLoggingToml -> m ConsoleLoggingMerged
- toEnv :: ConsoleLoggingMerged -> ConsoleLoggingEnv
- defaultMerged :: ConsoleLoggingMerged
Types
data ConsoleLoggingP (p :: ConfigPhase) Source #
Holds command logging config.
MkConsoleLoggingP | |
|
Instances
data ConsoleLogCmdSwitch Source #
Switch for command logging in console logs.
Instances
Show ConsoleLogCmdSwitch Source # | |
Defined in Shrun.Configuration.Data.ConsoleLogging showsPrec :: Int -> ConsoleLogCmdSwitch -> ShowS # show :: ConsoleLogCmdSwitch -> String # showList :: [ConsoleLogCmdSwitch] -> ShowS # | |
Eq ConsoleLogCmdSwitch Source # | |
Defined in Shrun.Configuration.Data.ConsoleLogging (==) :: ConsoleLogCmdSwitch -> ConsoleLogCmdSwitch -> Bool # (/=) :: ConsoleLogCmdSwitch -> ConsoleLogCmdSwitch -> Bool # | |
Default ConsoleLogCmdSwitch Source # | |
Defined in Shrun.Configuration.Data.ConsoleLogging | |
(k ~ An_Iso, a ~ Bool, b ~ Bool) => LabelOptic "boolIso" k ConsoleLogCmdSwitch ConsoleLogCmdSwitch a b Source # | |
Defined in Shrun.Configuration.Data.ConsoleLogging |
Functions
mergeConsoleLogging :: (HasCallStack, MonadTerminal m) => ConsoleLoggingArgs -> Maybe ConsoleLoggingToml -> m ConsoleLoggingMerged Source #
Merges args and toml configs.