From bc295a777bb7d93dd131159f530d7ed5a73b2e03 Mon Sep 17 00:00:00 2001 From: Danya H Date: Wed, 30 Oct 2024 15:38:06 +0000 Subject: [PATCH] jsdoc --- browser/src/core/browser.ts | 6 ++++++ 1 file changed, 6 insertions(+) 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, ) {