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

std/log/levels.ts>getLevelByName

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

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