Skip to main content
Module

std/log/levels.ts>getLevelByName

Deno standard library
Go to Latest
function getLevelByName
import { getLevelByName } from "https://deno.land/std@0.102.0/log/levels.ts";

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

Returns

number