Files

22 lines
478 B
TypeScript
Raw Permalink Normal View History

2017-09-18 15:19:18 +02:00
export declare class SmartDebug {
2018-04-12 18:02:48 +02:00
private _debugEnabled;
2018-04-12 19:29:24 +02:00
constructor(debugTopic?: string);
2018-04-12 18:02:48 +02:00
readonly debugEnabled: boolean;
2017-09-18 15:19:18 +02:00
/**
* enables debugging output
*/
2017-09-19 17:58:59 +02:00
enableDebugging(): void;
2018-04-12 18:02:48 +02:00
/**
* disables debugging
*/
disableDebugging(): void;
2017-09-18 15:19:18 +02:00
/**
* logs a message based on the contraints of the SmartDebug instance
*/
log(logObject: any): void;
2018-04-12 18:02:48 +02:00
/**
* a function returning
*/
isDebugMode(): boolean;
2017-09-18 15:19:18 +02:00
}