polysemy-log-0.2.2.4: Polysemy Effects for Logging
Safe HaskellNone
LanguageHaskell2010

Polysemy.Log.Format

Description

 
Synopsis

Documentation

formatSeverity :: Severity -> Text Source #

Create a colored tag with the format "[tag]" for a Severity value.

shortModule :: Text -> Text Source #

Turn a module string like Foo.Bar.Baz into an abbreviated F.B.Baz.

formatCaller :: CallStack -> Text Source #

Format a call stack's top element as F.B.Baz with the line number.

formatLogEntry :: LogEntry LogMessage -> Text Source #

Default formatter for the default message type.