Server/Client middlewares + JSDoc #6

Merged
rilaxik merged 8 commits from unstable into dev 2024-10-30 16:21:29 +00:00
Showing only changes of commit bc295a777b - Show all commits

View File

@ -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,
) {