You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Providing the activationId field in openwhisk for logging (multiple activations can run at the same time) – this is already possible with a custom filter
As a better foundation to implement recordLogs and magically make it work like expected. (This would be a really nice feature)
"Async awareness" could serve as another really nice unique selling point compared to other logging frameworks if we get this right!
Multiple API designs spring to my mind:
Making rootLogger context dependent (or making it a getter so it can be customized by the library user)
Making filters/formatters context dependant
To be honest I don't really like any of those ideas…
The text was updated successfully, but these errors were encountered:
all in all, I think the complexity of using cls-hooked is too big and might be too opinionated to provide out of the box. maybe adding some examples of how this could be achieved is enough.
https://www.npmjs.com/package/cls-hooked can be used to provide variables local to the current promise/async function context.
Current/Possible use case:
"Async awareness" could serve as another really nice unique selling point compared to other logging frameworks if we get this right!
Multiple API designs spring to my mind:
To be honest I don't really like any of those ideas…
The text was updated successfully, but these errors were encountered: