You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry for bad explanation. I mean output log with file name and line no like this format:
2018-02-07T15:09:21+08:00 |INFO|main.go|74| Hello world foo=bar
2018-02-07T15:09:21+08:00 |INFO|main.go|75| Hello world foo=bar
2018-02-07T15:09:21+08:00 |INFO|main.go|76| Hello world foo=bar
i'm try to output log with pretty logging style:
and the output will be pretty good as:
is it possible to add caller info, such as file name, line no info at a fixed position , such as:
i try to add hook for logger to parse the caller info:
obviously, the file/line info are output as normal fields, such as:
The text was updated successfully, but these errors were encountered: