Skip to main content
Module

std/log/levels.ts>getLevelName

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

Returns the stringy log level name provided the numeric log level

Parameters

level: number
  • Deprecated (will accept LogLevel after 0.211.0)