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

std/log/mod.ts>info

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function info
import { info } from "https://deno.land/std@0.104.0/log/mod.ts";

Log with info 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