now accepts third party debug function

This commit is contained in:
2017-09-18 17:53:23 +02:00
parent 8ab8a4f18b
commit 4dea1cfac2
3 changed files with 16 additions and 6 deletions

3
dist/index.d.ts vendored
View File

@@ -1,9 +1,10 @@
export declare class SmartDebug {
debugLogFunction: any;
private debugEnabled;
/**
* enables debugging output
*/
enableDebugging(): void;
enableDebugging(debugLogFunction?: any): void;
/**
* logs a message based on the contraints of the SmartDebug instance
*/