method Logger.prototype.errorimport { Logger } from "https://dotland.deno.dev/std@0.110.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