summaryrefslogtreecommitdiff
path: root/std/log/logger_test.ts
diff options
context:
space:
mode:
authorChris Knight <cknight1234@gmail.com>2020-04-09 12:45:24 +0100
committerGitHub <noreply@github.com>2020-04-09 13:45:24 +0200
commit475a47cfb7b83e05872ce084bc4b13d60697711b (patch)
tree3b1a1647f0c3e79bc665a16f7854b73bfe19efd5 /std/log/logger_test.ts
parent198a045dbee7b0350055b7f88f1e0670da87fb3b (diff)
feat(std/log): improvements and new log handler (#4674)
Diffstat (limited to 'std/log/logger_test.ts')
-rw-r--r--std/log/logger_test.ts2
1 files changed, 1 insertions, 1 deletions
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);
}