Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

std/log/mod.ts>critical

Deno standard library
Go to Latest
function critical
import { critical } from "https://deno.land/std@0.114.0/log/mod.ts";

Log with critical level, using default logger.

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