Fix error when sending data to File

This commit is contained in:
Pascal Perrenoud
2024-06-03 16:47:03 +02:00
parent 337e5437d0
commit 486dfa972e
+1 -1
View File
@@ -32,7 +32,7 @@ export class DailyFile implements Writer {
this.writer = DailyFile.start(this._options.minLevel, this.folder, this.current_date)
}
return this.writer.log(level, data)
return this.writer.log(level, ...data)
}
public end() : number | Promise<number> {