Skip to content

Commit

Permalink
accept wide logger type
Browse files Browse the repository at this point in the history
  • Loading branch information
gsteenkamp89 committed Nov 29, 2024
1 parent e6c7f7c commit 14424cf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/utils/Profiler.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
import { performance } from "node:perf_hooks";
import { Logger } from "winston";
import crypto from "crypto";
import { DefaultLogLevels } from "./LogUtils";

type Logger = {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
log: (level: string, ...meta: any[]) => void;
};

type Detail = {
message?: string;
[key: string]: unknown;
Expand Down

0 comments on commit 14424cf

Please sign in to comment.