HORIZON HASKELLDocslts/ghc-9.14.xd82dee82026-10-12Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · d82dee8 · 2026-10-12

Moduletrace-dispatcher-2.13.1Haskell2010

Cardano.Logging.ConfigurationParser

  • 1 type
  • 10 values

Creates the minimal viable configuration by only setting fallback values in an empty TraceConfig. Fallback options for the namespace root: Notice severity, normal detail, JSON stdout logging. Notice severity was chosen as it will never filter out any actionable traces while creating minimal noise in the log.

Read a configuration source and return the internal representation. Fallback options for the namespace root: Notice severity, normal detail, JSON stdout logging.

Read a configuration file and return the internal representation. This will silently provide a minimal viable config via mkConfiguration when the file is absent. Fallback options for the namespace root: Notice severity, normal detail, JSON stdout logging.

Read a configuration source and return the internal representation. TraceConfig fields not specified in the file will be taken from the provided defaultConf (when given there). Fallback options for the namespace root: Notice severity, normal detail, JSON stdout logging.

Applies the fallback values to the namespace root, or creates a namespace root from them if none is present. Furthermore, it ensures a metric prefix is properly namespaced, if there is one configured. If you do not use any of mkConfiguration* or readConfiguration* to create your TraceConfig, but do it manually, it is highly recommended to call applyFallback on that TraceConfig value as a last step before using it.

Orphan instances

1 instance