diff --git a/browser/src/core/browser.ts b/browser/src/core/browser.ts index afde257..765baa0 100644 --- a/browser/src/core/browser.ts +++ b/browser/src/core/browser.ts @@ -13,10 +13,16 @@ export class Browser extends Helper { super() } + /** + * Setter. Enables console debug logs for events + */ set debugLogs(debug: boolean) { this.debugLogs_ = debug } + /** + * Setter. Provides an ability to specify custom logger function to get special formatting. Using this enables ``debugLogs`` + */ set customLogger( fn: (method: string, eventName: string, ...args: unknown[]) => unknown, ) {