summaryrefslogtreecommitdiff
path: root/log/logger.ts
diff options
context:
space:
mode:
Diffstat (limited to 'log/logger.ts')
-rw-r--r--log/logger.ts8
1 files changed, 5 insertions, 3 deletions
diff --git a/log/logger.ts b/log/logger.ts
index d92c34a58..4150fb524 100644
--- a/log/logger.ts
+++ b/log/logger.ts
@@ -39,9 +39,11 @@ export class Logger {
levelName: getLevelName(level)
};
- this.handlers.forEach(handler => {
- handler.handle(record);
- });
+ this.handlers.forEach(
+ (handler): void => {
+ handler.handle(record);
+ }
+ );
}
// eslint-disable-next-line @typescript-eslint/no-explicit-any