use console.log as default

This commit is contained in:
2017-09-19 17:48:56 +02:00
parent a8b760165d
commit 068c19704b
3 changed files with 7 additions and 4 deletions

5
dist/index.d.ts vendored
View File

@@ -4,7 +4,10 @@ export declare class SmartDebug {
/**
* enables debugging output
*/
enableDebugging(debugLogFunction?: any): void;
enableDebugging(debugLogFunction?: {
(message?: any, ...optionalParams: any[]): void;
(message?: any, ...optionalParams: any[]): void;
}): void;
/**
* logs a message based on the contraints of the SmartDebug instance
*/