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

x/hex/src/service/deps.ts>logLevels.getLevelByName

An ecosystem delivering practices, philosophy and portability.
Go to Latest
function logLevels.getLevelByName
import { logLevels } from "https://deno.land/x/hex@0.5.15/src/service/deps.ts";
const { getLevelByName } = logLevels;

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

Returns

number