UNPKG

the-logs

Version:

Stop using console.log and use this simple logs API for your daily proccess.

10 lines (9 loc) 480 B
import { ILogger, ILoggerBuilderProps, ILoggerParams } from './types'; export declare class Logger { private static _instance; static buildLogger: (configs?: ILoggerBuilderProps) => Logger; static buildLoggerAsync: (configs?: ILoggerBuilderProps) => Promise<Logger>; static getLogger: (params?: ILoggerParams) => Omit<ILogger, 'setConfigs'>; static getLoggerAsync: (params?: ILoggerParams) => Promise<Omit<ILogger, 'setConfigs'>>; private constructor(); }