diff --git a/index.ts b/index.ts index 957ff55..4597669 100644 --- a/index.ts +++ b/index.ts @@ -16,7 +16,7 @@ export class File implements Writer { } public log(_level: Level, ...data: any[]) : void { - for (const block of data) this.sink.write(block) + this.sink.write(data.join(" ")) this.sink.write(os.EOL) }