From 475a47cfb7b83e05872ce084bc4b13d60697711b Mon Sep 17 00:00:00 2001 From: Chris Knight Date: Thu, 9 Apr 2020 12:45:24 +0100 Subject: feat(std/log): improvements and new log handler (#4674) --- std/log/logger_test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'std/log/logger_test.ts') diff --git a/std/log/logger_test.ts b/std/log/logger_test.ts index 3e8898afa..804591b4f 100644 --- a/std/log/logger_test.ts +++ b/std/log/logger_test.ts @@ -10,7 +10,7 @@ class TestHandler extends BaseHandler { public records: LogRecord[] = []; handle(record: LogRecord): void { - this.records.push({ ...record }); + this.records.push(record); super.handle(record); } -- cgit v1.2.3