Add computed value as log annotations (in a generator)
Hello everyone. I am starting to add some observability to my effect app. I want to add some advanced logging by enhancing the log outputs with a requestID or the requested path. Now the problem is I can only add log anotations like this
But what if I want to add log annotations from within a service layer? Or a generator? Something like this:
I could not figure it out. I appreciate any help
But what if I want to add log annotations from within a service layer? Or a generator? Something like this:
I could not figure it out. I appreciate any help
