ts-logs
Version:
This package provide a skd for audit and manager logs in nodejs and express
18 lines • 478 B
TypeScript
import { Log } from "./log";
/**
* @description Global log instance
*/
export declare abstract class GlobalLog {
private static instance;
/**
* @description Get or Create a log singleton instance
* @param props as options to define id and name for log object.
* @returns instance of Log.
*/
static singleton(props?: {
uid?: string;
name?: string;
}): Log;
}
export default GlobalLog;
//# sourceMappingURL=global-log.d.ts.map