Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/powar/logging.ts>Logger

A simple but powerful TypeScript-based dot-file manager.
Go to Latest
interface Logger
import { type Logger } from "https://deno.land/x/powar@1.0.3/logging.ts";

Logging utilities.

Properties

optional
logLevel: "none" | "info" | "warn"

The maximum log level to print.

depth: number

The indentation depth of this logger.

info: (msg: string) => void

Log a message at the info level.

warn: (msg: string) => void

Log a message at the warn level.

fatal: (msg: string) => never

Log a message at the fatal level and exit the process.