Skip to content

Commit a1e40c2

Browse files
authored
Making Logger def a class instead of interface.
Doing this allows for typescript and angular to use the class as a dependency injection object.
1 parent 64ef14a commit a1e40c2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

types/log4js.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ export interface Configuration {
424424
disableClustering?: boolean;
425425
}
426426

427-
export interface Logger {
427+
export class Logger {
428428
new(dispatch: Function, name: string): Logger;
429429

430430
level: string;

0 commit comments

Comments
 (0)