Module

x/ultra/lib/deps.ts

Zero-Legacy Deno/React Suspense SSR Framework
Latest
import * as mod from "https://dotland.deno.dev/x/ultra@v2.3.8/lib/deps.ts";

Namespaces

Logging library with the support for terminal and file outputs. Also provides interfaces for building custom loggers.

Classes

An object that encapsulates provided message and arguments as well some metadata that can be later used when formatting a message.

Reader utility for strings.

Enums

Get log level numeric values through enum constants. Defaults to INFO.

Variables

🖍️ Crayon object that's used for styling

  • Call the last property as a function with arguments to get styled string

Handlers are responsible for actual output of log messages. When a handler is called by a logger, it firstly checks that {@link LogRecord}'s level is not lower than level of the handler. If level check passes, handlers formats log record into string and outputs it to target.

Functions

Make an assertion, if not true, then throw.

CREDIT: https://gist.github.com/enepomnyaschih/72c423f727d395eeaa09697058238727 Encodes a given Uint8Array, ArrayBuffer or string into RFC4648 base64 representation

Greater than or equal comparison

Log with critical level, using default logger.

Log with debug level, using default logger.

Log with error level, using default logger.

Get a logger instance. If not specified name, get the default logger.

Log with info level, using default logger.

Setup logger config.

Log with warning level, using default logger.

Create a ReadableStream<Uint8Array> from a Reader.

Converts and format a variable number of args as is specified by format. sprintf returns the formatted string.