@xmobitea/gn-server
Version:
GearN Server by XmobiTea (Pro)
21 lines (20 loc) • 678 B
TypeScript
interface DebugConfiguration {
isLogToFileEnable: boolean;
isLogToConsoleEnable: boolean;
logPath: string;
}
export declare class Debug {
private static isLogToFileEnable;
private static isLogToConsoleEnable;
private static logPath;
private static logger;
static init(config: DebugConfiguration): void;
static getLogPath(): string;
static run(): void;
static log(message: any, ...args: any[]): void;
static logInfo(message: any, ...args: any[]): void;
static logError(message: any, ...args: any[]): void;
static logWarning(message: any, ...args: any[]): void;
static logException(exception: Error): void;
}
export {};