marconi-cardano-core-1.2.0.0
Safe HaskellSafe-Inferred
LanguageHaskell2010

Marconi.Cardano.Core.Logger

Description

Common loggers for marconi

Synopsis

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