UNPKG

nestjs-logitron

Version:

Powerful logger module for Nodejs/ Nestjs, seamlessly integrating Pino and Winston for flexible logging with easy configuration.

2 lines (1 loc) 648 B
"use strict";var c=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var p=(r,o)=>{for(var n in o)c(r,n,{get:o[n],enumerable:!0})},f=(r,o,n,a)=>{if(o&&typeof o=="object"||typeof o=="function")for(let t of g(o))!d.call(r,t)&&t!==n&&c(r,t,{get:()=>o[t],enumerable:!(a=s(o,t))||a.enumerable});return r};var l=r=>f(c({},"__esModule",{value:!0}),r);var u={};p(u,{asyncLocalStorage:()=>i,withTraceId:()=>m});module.exports=l(u);var e=require("async_hooks"),i=new e.AsyncLocalStorage;function m(r,o){i.run({traceId:r},o)}0&&(module.exports={asyncLocalStorage,withTraceId});