Polysemy.Log.Data.DataLog
Description
data DataLog a :: Effect where Source #
Adapter for a logging backend.
Usually this is reinterpreted into an effect like those from co-log or di, but it can be used purely for testing.
Constructors
Schedule an arbitrary value for logging.
Stores the provided function in the interpreter and applies it to all log messages emitted within the higher-order thunk that's the second argument.