polysemy-log-0.2.0.1: Polysemy effects for logging
Safe HaskellNone
LanguageHaskell2010

Polysemy.Log.Data.LogMetadata

Description

 
Synopsis

Documentation

data LogMetadata a :: Effect where Source #

Internal effect used as an intermediate stage between Log and DataLog, for the purpose of isolating the metadata annotation task.

The type of metadata is arbitrary and chosen in interpreters, but this exposes a HasCallStack dependency since it's the primary purpose.

Constructors

Annotated :: HasCallStack => a -> LogMetadata a m ()

Schedule a message to be annotated and logged.

Instances

Instances details
type DefiningModule LogMetadata Source # 
Instance details

Defined in Polysemy.Log.Data.LogMetadata

type DefiningModule LogMetadata = "Polysemy.Log.Data.LogMetadata"