This release is 2 versions behind 0.8.1 — the latest version of @logtape/logtape. Jump to latest
Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
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




JSR Score
100%
Published
3 months ago (0.7.1)
import type { LogRecord } from "./record.ts"; export const info: LogRecord = { level: "info", category: ["my-app", "junk"], message: ["Hello, ", 123, " & ", 456, "!"], rawMessage: "Hello, {a} & {b}!", timestamp: 1700000000000, properties: {}, }; export const debug: LogRecord = { ...info, level: "debug", }; export const warning: LogRecord = { ...info, level: "warning", }; export const error: LogRecord = { ...info, level: "error", }; export const fatal: LogRecord = { ...info, level: "fatal", };