DOC: Add namespaced example to disableLog doc. (#1150)

It probably won't be used that often, but "ui.setTheme" seemed the least spoilery function name to use as an example.
This commit is contained in:
adeilt 2024-03-09 15:25:48 -08:00 committed by GitHub
parent c93205fec6
commit de5c1bbf98
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -5689,6 +5689,8 @@ export interface NS {
* *
* Logging can be disabled for all functions by passing `ALL` as the argument. * Logging can be disabled for all functions by passing `ALL` as the argument.
* *
* For specific interfaces, use the form "namespace.functionName". (e.g. "ui.setTheme")
*
* @param fn - Name of function for which to disable logging. * @param fn - Name of function for which to disable logging.
*/ */
disableLog(fn: string): void; disableLog(fn: string): void;