Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Marconi.Cardano.Core.Logger
Description
Common loggers for marconi
Synopsis
- nullTracer :: forall (m :: Type -> Type) a. Applicative m => Tracer m a
- defaultStdOutLogger :: Text -> Severity -> IO (Trace IO Text, Switchboard Text)
- mkMarconiTrace :: Trace m Text -> MarconiTrace m
- marconiFormatting :: Doc ann -> Text
- type MarconiTrace m = Trace m (Doc ())
Documentation
nullTracer :: forall (m :: Type -> Type) a. Applicative m => Tracer m a #
defaultStdOutLogger :: Text -> Severity -> IO (Trace IO Text, Switchboard Text) #
StdOut logger, only log stuff above the Info level
mkMarconiTrace :: Trace m Text -> MarconiTrace m #
Builds a MarconiTrace
from a base tracer.
marconiFormatting :: Doc ann -> Text #
type MarconiTrace m = Trace m (Doc ()) #
Alias for a Doc
tracer, it is the Trace
used throughout the Marconi application