mirror of
https://github.com/log4js-node/log4js-node.git
synced 2025-12-08 19:26:01 +00:00
Merge pull request #1072 from saulzhong/master
fix(types): add defaultLevel parameter declaration to the function ge…
This commit is contained in:
commit
82e38b212d
2
types/log4js.d.ts
vendored
2
types/log4js.d.ts
vendored
@ -272,7 +272,7 @@ export interface Levels {
|
||||
FATAL: Level;
|
||||
OFF: Level;
|
||||
levels: Level[];
|
||||
getLevel(level: string): Level;
|
||||
getLevel(level: Level | string, defaultLevel: Level): Level;
|
||||
addLevels(customLevels: object): void;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user