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