LogHandler type

type LogHandler = (level: LogLevel, args: unknown[]) => void