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

x/simple_utility/deps.deno_ext.ts

Simplify processing for Deno.
Go to Latest
import * as simpleUtility from "https://deno.land/x/simple_utility@v2.0.9/deps.deno_ext.ts";

Classes

This is the default logger. It will output color coded log messages to the console via console.log().

This handler will output to a file using an optional mode (default is a, e.g. append). The file will grow indefinitely. It uses a buffer for writing to file. Logs can be manually flushed with fileHandler.flush(). Log messages with a log level greater than error are immediately flushed. Logs are also flushed on process completion.

Functions

Formats a date to a string with the specified format.