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

7 lines (6 loc) 214 B
import { TValidValues } from "./constants"; /** * Gets all the key-values that were set in the active contexts, * in a Map<key, value> format */ export declare const getLogData: () => Map<string, TValidValues>;