smartdebug/dist/index.d.ts

22 lines
478 B
TypeScript
Raw Normal View History

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