Skip to main content
Module

std/log/logger.ts>Logger#error

Deno standard library
Go to Latest
method Logger.prototype.error
import { Logger } from "https://deno.land/std@0.108.0/log/logger.ts";

Parameters

msg: () => T
...args: unknown[]

Returns

T | undefined

Parameters

msg: T extends GenericFunction ? never : T
...args: unknown[]

Parameters

msg: (T extends GenericFunction ? never : T) | (() => T)
...args: unknown[]

Returns

T | undefined