BSD-3-Clause licensed by Ian Duncan
Maintained by [email protected]
This version can be pinned in stack with:hs-opentelemetry-instrumentation-monad-logger-1.0.0.0@sha256:a2cf162b985ad10645d0ee1ef3fb5d353dc21a6513aac97bba0f90b602743bc2,1789

Module documentation for 1.0.0.0

Provides a logging callback for runLoggingT that forwards monad-logger messages to the OpenTelemetry Logs pipeline with automatic trace correlation and source location attributes.

Changes

Changelog for hs-opentelemetry-instrumentation-monad-logger

1.0.0.0 - 2026-05-29

  • Promoted to 1.0.0.0 for the hs-opentelemetry 1.0 release.

0.1.0.0

  • Initial release.
  • Provides makeOTelLogCallback for use with runLoggingT.
  • Severity mapping: LevelDebugDebug, LevelInfoInfo, LevelWarnWarn, LevelErrorError, LevelOther tInfo (with original level name in severityText).
  • Template Haskell source location emitted as code.filepath, code.function.name, and code.lineno attributes.
  • Logger source tag emitted as log.source attribute when non-empty.