method Logger.prototype.errorimport { Logger } from "https://deno.land/std@0.57.0/log/logger.ts"; error<T>(msg: () => T, ...args: unknown[]): T | undefinederror<T>(msg: T extends Function ? never : T, ...args: unknown[]): TType ParametersTParametersmsg: () => T...args: unknown[]ReturnsT | undefinedType ParametersTParametersmsg: T extends Function ? never : T...args: unknown[]ReturnsT