UNPKG

@incubrain/logger

Version:

A modern, format-agnostic logging library for Node.js and browser environments, built on top of Consola with additional features for enterprise applications.

24 lines (23 loc) 660 B
import type { ConsolaOptions } from "consola"; export declare const LOG_LEVELS: { readonly SILENT: -999; readonly VERBOSE: 999; readonly FATAL: 0; readonly ERROR: 0; readonly WARN: 1; readonly LOG: 2; readonly INFO: 3; readonly SUCCESS: 3; readonly READY: 3; readonly START: 3; readonly DEBUG: 4; readonly TRACE: 5; }; export declare const DEFAULT_OPTIONS: Partial<ConsolaOptions>; export declare const ENV: { readonly development: "development"; readonly production: "production"; readonly test: "test"; }; export type LogLevel = keyof typeof LOG_LEVELS; export type Environment = keyof typeof ENV;