trace-dispatcher
Safe HaskellSafe-Inferred
LanguageHaskell2010

Cardano.Logging.ConfigurationParser

Synopsis

Documentation

readConfiguration :: FilePath -> IO TraceConfig Source #

Read a configuration file and returns the internal representation

readConfigurationWithDefault :: FilePath -> TraceConfig -> IO TraceConfig Source #

Read a configuration file and returns the internal representation Uses values which are not in the file from the defaultConfig

configToRepresentation :: TraceConfig -> ConfigRepresentation Source #

Convert from internal to external representation

Orphan instances

ToJSON TraceConfig Source # 
Instance details

Methods

toJSON :: TraceConfig -> Value

toEncoding :: TraceConfig -> Encoding

toJSONList :: [TraceConfig] -> Value

toEncodingList :: [TraceConfig] -> Encoding

omitField :: TraceConfig -> Bool