/** * @module * This module provides the Level type and enum. */ /** * The Levels interface maps the level names to log levels. */ export interface Levels { TRACE: 0; DEBUG: 1; INFO: 2; WARN: 3; ERROR: 4; CRITICAL: 5; DISABLED: 6; } /** * The Level type represents the different log levels. */ export type Level = Levels[keyof Levels]; /** * The Level enum represents the different log levels. * * @example * ```ts * import { event, Level } from "@bcheidemann/tracing"; * * event(Level.INFO, "Hello, world!"); * ``` */ export declare const Level: { readonly DISABLED: 0; readonly TRACE: 1; readonly DEBUG: 2; readonly INFO: 3; readonly WARN: 4; readonly ERROR: 5; readonly CRITICAL: 6; }; //# sourceMappingURL=level.d.ts.map