diff --git a/index.ts b/index.ts index 081ffc1..c9e0d5e 100644 --- a/index.ts +++ b/index.ts @@ -15,7 +15,7 @@ export class File implements Writer { } public log(_level: Level, ...data: any[]) : void { - this.sink.write(data.join(" ")) + for (const block of data) this.sink.write(block) } public end() : number | Promise {