Release 1.4
What Changed
- Started making release notes 😉
- Added ability to report file + line number if desired (NOTE: there is overhead to this, so default=off)
- Output format of the default handlers were altered slightly.
- Handlers now call e.Consumed() instead of w.WG.Done(); this is to hide the inner implementation and make it more flexible for future changes behind the scenes without breaking changes.
How to turn on file+line number?
// NOTE: this must be set prior to registering any handlers
// as the handlers may call log.GetCallerInfo() to determine
// their output while being registered
log.SetCallerInfo(true)
Where if the file+line number information
Right on the Entry Object
e.File
e.Line