Safe Haskell | None |
---|---|
Language | GHC2021 |
Unclog.Frontend
Description
functions for splicing in static information and creating log entries from it
generic logging functions
mkLogEntry :: forall (q :: Type -> Type). (Quote q, Quasi q) => LogLevel -> Code q (Time -> StrictByteString -> LogEntry) Source #
splice in the location and loglevel
communicating with the backend
publishLogEntry :: PLogChan -> LogEntry -> STM () Source #
given a LogChan
, publish a log entry to it