The format of the embedded values.
A function that renders a value to a string. This function is used to
render the values in the log record. The default is util.inspect()
in
Node.js/Bun and Deno.inspect()
in Deno.
(value: unknown) => string
Simple logging library with zero dependencies for Deno/Node.js/Bun/browsers
The format of the embedded values.
A function that renders a value to a string. This function is used to
render the values in the log record. The default is util.inspect()
in
Node.js/Bun and Deno.inspect()
in Deno.
(value: unknown) => string
Add Package
deno add jsr:@logtape/logtape
Import symbol
import { type TextFormatterOptions } from "@logtape/logtape";
---- OR ----
Import directly with a jsr specifier
import { type TextFormatterOptions } from "jsr:@logtape/logtape";
Add Package
npx jsr add @logtape/logtape
Import symbol
import { type TextFormatterOptions } from "@logtape/logtape";
Add Package
yarn dlx jsr add @logtape/logtape
Import symbol
import { type TextFormatterOptions } from "@logtape/logtape";
Add Package
pnpm dlx jsr add @logtape/logtape
Import symbol
import { type TextFormatterOptions } from "@logtape/logtape";
Add Package
bunx jsr add @logtape/logtape
Import symbol
import { type TextFormatterOptions } from "@logtape/logtape";