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

std/log/mod.ts>LogLevels

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

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

type

{ NOTSET: number; DEBUG: number; INFO: number; WARNING: number; ERROR: number; CRITICAL: number; 0: string; 10: string; 20: string; 30: string; 40: string; 50: string; }