Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- type NSWarnings = [Text]
- checkTraceConfiguration :: FilePath -> TraceConfig -> [([Text], [Text])] -> IO NSWarnings
- checkTraceConfiguration' :: TraceConfig -> [([Text], [Text])] -> NSWarnings
Documentation
type NSWarnings = [Text] Source #
Warnings as a list of text
checkTraceConfiguration :: FilePath -> TraceConfig -> [([Text], [Text])] -> IO NSWarnings Source #
Checks if all namespaces in this configuration are legal. Legal in this case means that it can be found by a hierarchcical lookup in all namespaces. Warns if namespaces in all namespaces are not unique, Warns if namespaces in all namespaces are ending in the middle of another namespace. The namespaces in allNamespaces are consistent with the namespaces for the severityFor, privacyFor, detailsFor, documentFor and metricsDofFor functions.
checkTraceConfiguration' :: TraceConfig -> [([Text], [Text])] -> NSWarnings Source #