UNPKG

logmessage-cls-hooked

Version:

A LogRoot Method Decorator that uses cls-hooked to handle and propagate log message details between different methods deeper in the callstack, removing the need to propagate a paremeter just for logging purposes

4 lines (3 loc) 207 B
import { Namespace } from "cls-hooked"; export declare const _getSessionOrFail: () => Namespace<Record<string, any>>; export declare const _setPropKeyHistory: (session: Namespace, propName: string) => void;