Utilities and extensions for the ZeroLog library
- Go 100%
| adapters | ||
| go.mod | ||
| go.sum | ||
| LICENSE | ||
| pretty.go | ||
| README.md | ||
MoreLog - zerolog utilities
This library contains some useful utilities and extensions for ZeroLog.
It has adapters for several frameworks and libraries to easily pipe their logging through zerolog.
You can find a list of the included adapters below.
There is also a core module that has some utilities for creating stylized loggers, and more. You can get it with:
go get -u git.zervo.dev/utils/morelog@latest
Adapters
Here is a list of adapters currently included in the library
Iris
Adapters for the Iris web framework. Currently includes a logger middleware.
go get -u git.zervo.dev/utils/morelog/adapters/iris@latest
GORM
Adapters for the ORM library GORM. Currently includes a logger that implements GORM's own logging interface.
go get -u git.zervo.dev/utils/morelog/adapters/gorm@latest