UNPKG

@incubrain/logger

Version:

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

13 lines 422 B
export type Runtime = "client" | "server"; export interface RuntimeContext { runtime: Runtime; isFileSystemAvailable: boolean; isProcessAvailable: boolean; environment: "development" | "production" | "test"; } export interface LoggerRuntime { getContext(): RuntimeContext; getEnvVar(name: string): string | undefined; setupErrorHandlers(logger: any): void; } //# sourceMappingURL=types.d.ts.map