Skip to content

Commit 9d7f250

Browse files
author
李太新
committed
feat: 调整类型申明
1 parent f3bbdbe commit 9d7f250

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/interfaces/logger-interface.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ import { LOGGER_TYPE, LoggerLevel } from '../constant';
66
export interface LoggerInterface extends LoggerService {
77
info(message: string, context?: string): void;
88
error(message: string, trace?: string, context?: string): void;
9+
warn(message: string, context?: string): any;
10+
debug?(message: string, context?: string): any;
11+
verbose?(message: string, context?: string): any;
912
setLogLevel(logLevel: LoggerLevel): void;
1013
setLogContextRegex(contextList: string | RegExp | (string | RegExp)[]): void;
1114
}

0 commit comments

Comments
 (0)