UNPKG

@szegedsw/lib-node

Version:

A little framework published by Szeged Software Zrt. in order to enhance api endpoint security and create reuseable code. Email module, Logging system, and much more. Further improvements are expected.

22 lines 711 B
export declare enum LogLevel { none = 0, error = 1, warning = 2, success = 3, info = 4, trace = 5 } export declare class Logger { static writeconsole: boolean; static level: LogLevel; static sendmail: boolean; static enableNotifier: boolean; static timestamp: boolean; static errorCallbackFunction: (msg: string, code?: string) => void; static error(msg: any, code?: string, spaceous?: boolean): void; static warning(msg: any, spaceous?: boolean): void; static info(msg: any, spaceous?: boolean): void; static trace(msg: any, spaceous?: boolean): void; static success(msg: any, spaceous?: boolean): void; } //# sourceMappingURL=logger.d.ts.map