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

x/dxx/src/lib/$shared.ts>$logger.Humane

🚀 (Deno) enhanced executor
Latest
class $logger.Humane
extends TransformWriter<LogEntry, string>
import { $logger } from "https://deno.land/x/dxx@rf/src/lib/$shared.ts";
const { Humane } = $logger;

Transform a LogEntry into a human-readable string (ie, for console display).

  • input: LogEntry
  • output: string
  • options?: ... ToDO ...

Constructors

new
Humane(options?: HumaneOptions)

Properties

readonly
levelProps: LogLevelProps
readonly
showLabel: boolean
readonly
showStyle: boolean
readonly
showSymbol: HumaneSymbolOption

Static Methods

HumaneTransformFn(context_: unknown | null, entry: LogEntry): string