Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/hex/src/service/deps.ts>log.error

An ecosystem delivering practices, philosophy and portability.
Go to Latest
function log.error
import { log } from "https://deno.land/x/hex@0.5.15/src/service/deps.ts";
const { error } = log;

Log with error level, using default logger.

Parameters

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

Returns

T | undefined

Parameters

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