Skip to content

Add LogOption for alert attribute

Compare
Choose a tag to compare
@SpeedxPz SpeedxPz released this 04 May 05:11
· 35 commits to main since this release
8393be6
  • New 'LogOption' when writing log to enable the 'alert' attribute in the root log struct
  • Fix the error that occurred when passing nil to slog.Error
  • 'WithEvent' now accepts either string payload or struct for the 'data' attribute
  • 'WithTracing' now accepts 3rd argument for 'request_id' (Optional, No break changes)