From 86d40cc206d1178e0968e64d5830fd0d62cb9f1e Mon Sep 17 00:00:00 2001 From: Aroop Roelofs Date: Wed, 18 Sep 2024 18:08:30 +0200 Subject: [PATCH] Fix small test error --- core/logger.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/logger.ts b/core/logger.ts index 9e945d1f..84ded6ff 100644 --- a/core/logger.ts +++ b/core/logger.ts @@ -54,9 +54,9 @@ export class Logger { * @param level {LogLevels} * @param handler {any} */ - // @ts-ignore TODO: Figure out how to replace Function with something more sane - // deno-lint-ignore ban-types -- TODO public static setHandler(level: LogLevels, handler: Function): void { + // @ts-ignore TODO: Figure out how to replace Function with something more sane + // deno-lint-ignore ban-types -- TODO Logger._handlers[level] = handler; }