Actually that is my problem changing all functions to pass on the context. On 15-Dec-2016 6:51 pm, "Gulácsi Tamás" <tgulacs...@gmail.com> wrote:
> 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.