mirror of
https://github.com/log4js-node/log4js-node.git
synced 2025-12-08 19:26:01 +00:00
Merge pull request #1177 from log4js-node/fixes-logger-constructor-types
fix(types): Logger constructor
This commit is contained in:
commit
2d52eb484b
6
types/log4js.d.ts
vendored
6
types/log4js.d.ts
vendored
@ -338,10 +338,10 @@ export interface Recording {
|
||||
}
|
||||
|
||||
export class Logger {
|
||||
new(dispatch: Function, name: string): Logger;
|
||||
constructor(name: string);
|
||||
|
||||
readonly category: string;
|
||||
level: Level | string;
|
||||
readonly category: string;
|
||||
level: Level | string;
|
||||
|
||||
log(level: Level | string, ...args: any[]): void;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user