mirror of
https://github.com/czlonkowski/n8n-mcp.git
synced 2026-02-06 05:23:08 +00:00
chore: add pre-built dist folder for npx usage
This commit is contained in:
committed by
Romuald Członkowski
parent
a70d96a373
commit
5057481e70
33
dist/utils/logger.d.ts
vendored
Normal file
33
dist/utils/logger.d.ts
vendored
Normal 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
|
||||
Reference in New Issue
Block a user