I have a ctxlogger that I am using throughout my program. This ctxlogger has a field called "request-id", which I want to extract to add to the fields of a new logger.FieldLogger I create in a function. What is the best way of going about doing this?
I have a ctxlogger that I am using throughout my program. This ctxlogger has a field called "request-id", which I want to extract to add to the fields of a new logger.FieldLogger I create in a function. What is the best way of going about doing this?