0.0.0-dev • Published 1 year ago
@yaupon/cls v0.0.0-dev
🔄 Continuation Local Storage (CLS)
Easy library
to manage async_hooks
and AsyncLocalStorage
in Node.js for off-loading context information outside of the request-response cycle by Continuation Local Storage
(CLS) and Continuation Passing Style (CPS).
- Manage Logger lifecycle outside code with
ContextManager.setContext
andContextManager.getContext
methods instead passing logger instance to each function or manually manage logger lifecycle and metadata.
0.0.0-dev
1 year ago