UNPKG

dwnpm

Version:

Decentralized Registry Package Manager (DRPM) helps developers publish, install, find and manage Decentralized Packages (DPKs) published to Decentralized Web Nodes (DWNs). DRPM does this by looking up a Decentralized Identifier (DID) to find its DID docum

24 lines 908 B
type Level = 'debug' | 'error' | 'info' | 'log' | 'warn' | 'test'; /** * * A simple console logger with colorized output. * * @class Logger - A simple console logger with colorized output. * * @property {Env} env - The current environment. * @property {Level} level - The current log level. * */ export declare class Logger implements Partial<Console> { static levels: Level[]; static debug(message?: unknown, ...args: unknown[]): void; static error(message?: unknown, ...args: unknown[]): void; static info(message?: unknown, ...args: unknown[]): void; static warn(message?: unknown, ...args: unknown[]): void; static security(message?: unknown, ...args: unknown[]): void; static plain(message?: unknown, ...args: unknown[]): void; static newline(): void; static log(message?: unknown, ...args: unknown[]): void; } export {}; //# sourceMappingURL=logger.d.ts.map