Update Writer interface
This commit is contained in:
+3
-3
@@ -26,9 +26,9 @@ export type WriterOptions = {
|
||||
}
|
||||
|
||||
export abstract class Writer {
|
||||
protected readonly _options: WriterOptions;
|
||||
public constructor(options: WriterOptions) {
|
||||
this._options = options
|
||||
protected readonly _options: WriterOptions = {
|
||||
minLevel: Level.INFO,
|
||||
with_color: false,
|
||||
}
|
||||
|
||||
public log(level: Level, ...data: any[]) : void {
|
||||
|
||||
Reference in New Issue
Block a user