@chijs/util
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -1,4 +0,4 @@ | ||
import { DestinationStream, pino, LoggerOptions, Logger } from 'pino'; | ||
import pino, { DestinationStream, LoggerOptions, Logger } from 'pino'; | ||
export declare function createBaseLogger(options?: LoggerOptions, stream?: DestinationStream): Logger; | ||
export declare function createLogger(component: string | string[], bindings?: pino.Bindings, base?: Logger<LoggerOptions>): pino.Logger<LoggerOptions & pino.ChildLoggerOptions>; | ||
export * from 'pino'; |
@@ -1,2 +0,2 @@ | ||
import { pino } from 'pino'; | ||
import pino from 'pino'; | ||
export function createBaseLogger(options, stream) { | ||
@@ -3,0 +3,0 @@ options = { name: 'chi', base: undefined, ...options }; |
{ | ||
"name": "@chijs/util", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"main": "lib/index.js", | ||
@@ -5,0 +5,0 @@ "license": "AGPL-3.0", |
Sorry, the diff of this file is not supported yet
6842