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
Add a smarter formatter to simulate the normal log behaviour
This adds a more clever formatter that uses the logger call depth to
return accurate data about the logged message in question.
It can be called with:
capnslog.SetFormatter(
capnslog.NewLogFormatter(os.Stderr, "<prefix> ", flags)
)
0 commit comments