Skip to main content

Built and signed on GitHub Actions

Simple logging library with zero dependencies for Deno/Node.js/Bun/browsers

This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score
100%
Published
3 weeks ago (0.8.0)
property TextFormatterOptions.category

The separator between category names. For example, if the separator is "·", the category ["a", "b", "c"] will be formatted as "a·b·c". The default separator is "·".

If this is a function, it will be called with the category array and should return a string, which will be used for rendering the category.

Type

string | ((category: readonly string[]) => 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";