On 2017-08-17 09:24, dc0d wrote:
> Logging from a specific place in code helps with finding out /where/ the
> error happened. And doing that manually is cumbersome. I for one can not
> give-up on this because it makes fixing things super fast.

github.com/pkg/errors

...solves many of those problems w/o logging inside the libray.
That's not to say that there are not situations were you really really
want to log a message inside a library, but it can be kept to a minimum.

/Peter

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to