Skip to main content
Module

std/log/levels.ts

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
import * as mod from "https://deno.land/std@0.211.0/log/levels.ts";

Variables

Permitted log level names

Use this to retrieve the numeric log level by it's associated name. Defaults to INFO.

Functions

Returns the numeric log level associated with the passed, stringy log level name.

Returns the stringy log level name provided the numeric log level

Type Aliases

Union of valid log level names

Union of valid log levels