File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
packages/giselle/src/logger Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change 1
1
import type { GiselleLogger } from "./types" ;
2
2
3
- const noop = ( ) => { } ;
3
+ const noop = ( ... _args : unknown [ ] ) : void => { } ;
4
4
5
5
export const noopLogger : GiselleLogger = {
6
6
info : noop ,
@@ -9,5 +9,4 @@ export const noopLogger: GiselleLogger = {
9
9
debug : noop ,
10
10
trace : noop ,
11
11
fatal : noop ,
12
- child : ( ) => noopLogger ,
13
12
} ;
Original file line number Diff line number Diff line change 1
1
import type { Logger } from "pino" ;
2
2
3
- /**
4
- * A logger interface compatible with pino, focusing on core logging methods.
5
- */
6
3
export type GiselleLogger = Pick <
7
4
Logger ,
8
- "info" | "warn" | "error" | "debug" | "trace" | "fatal" | "child"
5
+ "info" | "warn" | "error" | "debug" | "trace" | "fatal"
9
6
> ;
You can’t perform that action at this time.
0 commit comments