mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-18 13:43:49 +01:00
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:
parent
c93205fec6
commit
de5c1bbf98
2
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
2
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user