UNPKG

kliedz

Version:

Dead-simple, stateless logging utility for JavaScript and TypeScript. Pure functions. No dependencies. Just log.

10 lines (8 loc) 236 B
import type { LogLevel } from "./log_level.js"; import type { LogThreshold } from "./log_threshold.js"; export type LogParams = { level: LogLevel; threshold?: LogThreshold; withTimestamp?: boolean; prefixBuilder?: () => string; };