Skip to content

Releases: ashokrajar/zerolog_wrapper

v0.6.0

Choose a tag to compare

@ashokrajar ashokrajar released this 29 Feb 19:30

Fixed

  • shorter caller file path

v0.5.0

Choose a tag to compare

@ashokrajar ashokrajar released this 02 Dec 19:27

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

Choose a tag to compare

@ashokrajar ashokrajar released this 01 Dec 20:54

Added

  • exposing zerolog.Logger object

v0.2.0

Choose a tag to compare

@ashokrajar ashokrajar released this 26 Nov 15:34

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

Choose a tag to compare

@ashokrajar ashokrajar released this 11 Jun 08:30

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