A slog adapter, highly configurable, for gorm logger
MIT License
Bot releases are visible (Hide)
slogGorm.WithLogger(...)
is deprecated, use slogGorm.WithHandler(...)
instead:gormLogger := slogGorm.New(
// slogGorm.WithLogger(logger), // Deprecated since v1.3.0, use `slogGorm.WithHandler(...)` instead.
slogGorm.WithHandler(logger.Handler()), // since v1.3.0
)
Full Changelog: https://github.com/orandin/slog-gorm/compare/v1.3.2...v1.4.0
Published by orandin 6 months ago
slogGorm.WithLogger(...)
is deprecated, use slogGorm.WithHandler(...)
instead:gormLogger := slogGorm.New(
// slogGorm.WithLogger(logger), // Deprecated since v1.3.0, use `slogGorm.WithHandler(...)` instead.
slogGorm.WithHandler(logger.Handler()), // since v1.3.0
)
Full Changelog: https://github.com/orandin/slog-gorm/compare/v1.3.1...v1.3.2
Published by orandin 7 months ago
slogGorm.WithLogger(...)
is deprecated, use slogGorm.WithHandler(...)
instead:gormLogger := slogGorm.New(
// slogGorm.WithLogger(logger), // Deprecated since v1.3.0, use `slogGorm.WithHandler(...)` instead.
slogGorm.WithHandler(logger.Handler()), // since v1.3.0
)
Full Changelog: https://github.com/orandin/slog-gorm/compare/v1.3.0...v1.3.1
Published by orandin 7 months ago
slogGorm.WithLogger(...)
is deprecated, use slogGorm.WithHandler(...)
instead:gormLogger := slogGorm.New(
// slogGorm.WithLogger(logger), // Deprecated since v1.3.0, use `slogGorm.WithHandler(...)` instead.
slogGorm.WithHandler(logger.Handler()), // since v1.3.0
)
Full Changelog: https://github.com/orandin/slog-gorm/compare/v1.2.0...v1.3.0
Published by orandin 8 months ago
Full Changelog: https://github.com/orandin/slog-gorm/compare/v1.1.0...v1.2.0
Published by orandin 10 months ago
Published by orandin 12 months ago