Repository navigation
Releases: ashokrajar/zerolog_wrapper
Releases · ashokrajar/zerolog_wrapper
Release list
v0.6.0
v0.5.0
Adding
- adding new method to return zerolog.Logger object
Changed
- only enable caller logging if level=trace
[Breaking]
- reverting exposing zerolog.Logger as Logger vars
v0.3.0
v0.2.0
Added
- added a new function to update the logger context
Fixed
- fixing the getLocalIP function to work with Linux and Windows
Code Quality
- removing redundant type conversion
v0.1.0
First Initial release with some basic repeated log configs
- Uses LOG_LEVEL env variable or though a config file read by Viper to configure the log level
- Users APP_ENV env variable or though a config file read by Viper to configure the log level
- Enabled console pretty logs when APP_ENV=Dev
- Adds host's outgoing ip address as a field where the application is running
- Adds the filename as relative path and line number