mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-08 16:53:54 +01:00
DOCUMENTATION: Improve ns.enableLog() docs to remove a missleading description (#1634)
Changed ns.enableLog documentation to be very similar to ns.disableLog, to remove possible confusion that it only undoes the effects of ns.disableLog
This commit is contained in:
parent
47b261f520
commit
95394b5956
@ -26,7 +26,9 @@ void
|
|||||||
|
|
||||||
RAM cost: 0 GB
|
RAM cost: 0 GB
|
||||||
|
|
||||||
Re-enables logging for the given function. If `ALL` is passed into this function as an argument, it will revert the effect of disableLog("ALL").
|
Logging can be enabled for all functions by passing `ALL` as the argument.
|
||||||
|
|
||||||
|
For specific interfaces, use the form "namespace.functionName". (e.g. "ui.setTheme")
|
||||||
|
|
||||||
## Example
|
## Example
|
||||||
|
|
||||||
|
5
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
5
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@ -6168,8 +6168,9 @@ export interface NS {
|
|||||||
* @remarks
|
* @remarks
|
||||||
* RAM cost: 0 GB
|
* RAM cost: 0 GB
|
||||||
*
|
*
|
||||||
* Re-enables logging for the given function. If `ALL` is passed into this function as an argument, it will revert the
|
* Logging can be enabled for all functions by passing `ALL` as the argument.
|
||||||
* effect of disableLog("ALL").
|
*
|
||||||
|
* For specific interfaces, use the form "namespace.functionName". (e.g. "ui.setTheme")
|
||||||
*
|
*
|
||||||
* @example
|
* @example
|
||||||
* ```js
|
* ```js
|
||||||
|
Loading…
Reference in New Issue
Block a user