Skip to main content
Module

x/fs_cli/deps.ts>getLevelByName

A deno tool to handle directories and files through script: delete directories or files, copy simple or recursive, etc. Inspired by rimraf and mkdirp
Latest
function getLevelByName
import { getLevelByName } from "https://deno.land/x/fs_cli@v1.0.0/deps.ts";

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

Parameters

name: LevelName

Returns

number