nestjs-pino
Advanced tools
@@ -10,3 +10,3 @@ "use strict"; | ||
decoratedLoggers.add(context); | ||
return common_1.Inject(getLoggerToken(context)); | ||
return (0, common_1.Inject)(getLoggerToken(context)); | ||
} | ||
@@ -13,0 +13,0 @@ exports.InjectPinoLogger = InjectPinoLogger; |
@@ -63,4 +63,4 @@ "use strict"; | ||
Logger = __decorate([ | ||
common_1.Injectable(), | ||
__param(1, common_1.Inject(params_1.PARAMS_PROVIDER_TOKEN)), | ||
(0, common_1.Injectable)(), | ||
__param(1, (0, common_1.Inject)(params_1.PARAMS_PROVIDER_TOKEN)), | ||
__metadata("design:paramtypes", [PinoLogger_1.PinoLogger, Object]) | ||
@@ -67,0 +67,0 @@ ], Logger); |
@@ -34,3 +34,3 @@ "use strict"; | ||
}; | ||
const decorated = InjectPinoLogger_1.createProvidersForDecorated(); | ||
const decorated = (0, InjectPinoLogger_1.createProvidersForDecorated)(); | ||
return { | ||
@@ -48,3 +48,3 @@ module: LoggerModule_1, | ||
}; | ||
const decorated = InjectPinoLogger_1.createProvidersForDecorated(); | ||
const decorated = (0, InjectPinoLogger_1.createProvidersForDecorated)(); | ||
const providers = [ | ||
@@ -79,5 +79,5 @@ Logger_1.Logger, | ||
LoggerModule = LoggerModule_1 = __decorate([ | ||
common_1.Global(), | ||
common_1.Module({ providers: [Logger_1.Logger], exports: [Logger_1.Logger] }), | ||
__param(0, common_1.Inject(params_1.PARAMS_PROVIDER_TOKEN)), | ||
(0, common_1.Global)(), | ||
(0, common_1.Module)({ providers: [Logger_1.Logger], exports: [Logger_1.Logger] }), | ||
__param(0, (0, common_1.Inject)(params_1.PARAMS_PROVIDER_TOKEN)), | ||
__metadata("design:paramtypes", [Object]) | ||
@@ -84,0 +84,0 @@ ], LoggerModule); |
{ | ||
"name": "nestjs-pino", | ||
"version": "2.0.2-alpha.86454c", | ||
"version": "2.0.2-alpha.929d25", | ||
"description": "Pino logger for NestJS", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -33,3 +33,3 @@ "use strict"; | ||
} | ||
else if (params_1.isPassedLogger(pinoHttp)) { | ||
else if ((0, params_1.isPassedLogger)(pinoHttp)) { | ||
outOfContext = pinoHttp.logger; | ||
@@ -101,4 +101,4 @@ } | ||
PinoLogger = __decorate([ | ||
common_1.Injectable({ scope: common_1.Scope.TRANSIENT }), | ||
__param(0, common_1.Inject(params_1.PARAMS_PROVIDER_TOKEN)), | ||
(0, common_1.Injectable)({ scope: common_1.Scope.TRANSIENT }), | ||
__param(0, (0, common_1.Inject)(params_1.PARAMS_PROVIDER_TOKEN)), | ||
__metadata("design:paramtypes", [Object]) | ||
@@ -105,0 +105,0 @@ ], PinoLogger); |
49224
0.11%