chore: add pre-built dist folder for npx usage

This commit is contained in:
thesved
2025-12-04 20:22:02 +02:00
committed by Romuald Członkowski
parent a70d96a373
commit 5057481e70
716 changed files with 48021 additions and 0 deletions

33
dist/utils/logger.d.ts vendored Normal file
View File

@@ -0,0 +1,33 @@
export declare enum LogLevel {
ERROR = 0,
WARN = 1,
INFO = 2,
DEBUG = 3
}
export interface LoggerConfig {
level: LogLevel;
prefix?: string;
timestamp?: boolean;
}
export declare class Logger {
private config;
private static instance;
private useFileLogging;
private fileStream;
private readonly isStdio;
private readonly isDisabled;
private readonly isHttp;
private readonly isTest;
constructor(config?: Partial<LoggerConfig>);
static getInstance(config?: Partial<LoggerConfig>): Logger;
private formatMessage;
private log;
error(message: string, ...args: any[]): void;
warn(message: string, ...args: any[]): void;
info(message: string, ...args: any[]): void;
debug(message: string, ...args: any[]): void;
setLevel(level: LogLevel): void;
static parseLogLevel(level: string): LogLevel;
}
export declare const logger: Logger;
//# sourceMappingURL=logger.d.ts.map