Debraj Manna <subharaj.ma...@gmail.com> ezt írta (időpont: 2016. dec. 15.,
Cs, 14:12):

If I get you correctly I still have to pass the Context (with logger
attached) to all the functions where I wish to do the logging.

If my understanding is not correct then can you please give me a small
example?

No, you're right: you have to pass around the Context, or the logger.

-- 
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