mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-17 13:13:49 +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
|
||||
|
||||
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
|
||||
|
||||
|
5
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
5
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@ -6168,8 +6168,9 @@ export interface NS {
|
||||
* @remarks
|
||||
* 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
|
||||
* ```js
|
||||
|
Loading…
Reference in New Issue
Block a user