mirror of
https://github.com/log4js-node/log4js-node.git
synced 2025-12-08 19:26:01 +00:00
Making Logger def a class instead of interface.
Doing this allows for typescript and angular to use the class as a dependency injection object.
This commit is contained in:
parent
64ef14a748
commit
a1e40c229e
2
types/log4js.d.ts
vendored
2
types/log4js.d.ts
vendored
@ -424,7 +424,7 @@ export interface Configuration {
|
||||
disableClustering?: boolean;
|
||||
}
|
||||
|
||||
export interface Logger {
|
||||
export class Logger {
|
||||
new(dispatch: Function, name: string): Logger;
|
||||
|
||||
level: string;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user