Module

std/log/mod.ts>Logger#warning

Deno standard library
Go to Latest
method Logger.prototype.warning
import { Logger } from "https://dotland.deno.dev/std@0.130.0/log/mod.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