Gather file + line info on all error type logs
deankarn opened this issue · comments
Gather file + line info on all error type logs such as log.Error(..), log.Fatal(...) etc..
This information is worth the overhead to know exactly what went wrong where.
TODO
- Retain the SetCallerInfo function to turn it on for any/all log functions.
- Add checks for certain log levels
- update handlers to check for line number == 0 if not then caller information is present.