@tryloop/oats
Version:
🌾 OATS - OpenAPI TypeScript Sync. The missing link between your OpenAPI specs and TypeScript applications. Automatically watch, generate, and sync TypeScript clients from your API definitions.
28 lines • 698 B
TypeScript
export declare class DebugManager {
private static isDebugMode;
/**
* Initialize debug mode based on environment or config
*/
static init(debug?: boolean): void;
/**
* Check if debug mode is enabled
*/
static isEnabled(): boolean;
/**
* Print platform debug information
*/
static printPlatformInfo(): void;
/**
* Debug log helper
*/
static log(message: string, data?: any): void;
/**
* Create a debug section
*/
static section(title: string): void;
/**
* Time a function execution
*/
static time<T>(label: string, fn: () => Promise<T>): Promise<T>;
}
//# sourceMappingURL=debug.d.ts.map