Skip to main content
Module

std/log/error.ts>error

The Deno Standard Library
Latest
function error
import { error } from "https://deno.land/std@0.224.0/log/error.ts";

Log with error level, using default logger.

Parameters

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

Returns

T | undefined

Parameters

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