v1.5.0 - 2024-11-07
- #22466 Disable coloring in testing logger.
- #22233 Use sonic json library for faster json handling.
- #22347 Add
cosmossdk.io/log/slog
to allow using a standard library log/slog-backed logger. This required to bump the minimum go version ofcosmossdk.io/log
to 1.21.
v1.4.1 - 2024-08-16
- #21326 Avoid context key collision.
v1.4.0 - 2024-08-07
- #21045 Add
WithContext
method implementations to make all returned loggers compatible withcosmossdk.io/core/log.Logger
(v1) without a direct dependency.
v1.3.1 - 2024-02-05
v1.3.0 - 2024-01-10
- #18916 Introduce an option for setting hooks.
- #18429 Support customization of log json marshal.
- #18898 Add
WARN
level.
v1.2.1 - 2023-08-25
v1.2.0 - 2023-07-31
- #17194 Avoid repeating parse log level in
ParseLogLevel
. - #17205 Fix types that do not implement the
json.Marshaler
interface. - #15956 Introduce an option for enabling error stack trace.
v1.1.0 - 2023-04-27
- #15956 Introduce options to configure logger (enable/disable colored output, customize log timestamps).
v1.0.0 - 2023-03-30
- #15601 Introduce logger options. These options allow to configure the logger with filters, different level and output format.
v0.1.0 - 2023-03-13
- Introducing a standalone SDK logger package (
comossdk.io/log
). It replaces CometBFT logger and provides a common interface for all SDK components. The default logger (NewLogger
) is using zerolog, but it can be easily replaced with any implementation that implements thelog.Logger
interface.