Skip to main content
Module

std/log/mod.ts>warn

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

Log with warning level, using default logger.

Parameters

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

Returns

T | undefined

Parameters

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