nestjs-pino
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -23,2 +23,9 @@ import { LoggerService } from "@nestjs/common"; | ||
export declare function createLoggerMiddlewares(options: LoggerOptions, stream: DestinationStream): express.Handler[]; | ||
declare global { | ||
namespace Express { | ||
interface Request { | ||
log: pino.Logger; | ||
} | ||
} | ||
} | ||
export {}; |
{ | ||
"name": "nestjs-pino", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Pino logger for NestJS", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -87,3 +87,2 @@ # nestjs-pino | ||
```ts | ||
import { Provider } from "@nestjs/common"; | ||
import { Logger } from 'nestjs-pino'; | ||
@@ -90,0 +89,0 @@ |
Sorry, the diff of this file is not supported yet
296898
108
128
5
2
7