function errorimport { error } from "https://deno.land/std@0.222.1/log/mod.ts"; error<T>(msg: () => T, ...args: unknown[]): T | undefinedLog with error level, using default logger. error<T>(msg: T extends GenericFunction ? never : T, ...args: unknown[]): TLog with error level, using default logger. Type ParametersTParametersmsg: () => T...args: unknown[]ReturnsT | undefinedType ParametersTParametersmsg: T extends GenericFunction ? never : T...args: unknown[]ReturnsT