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:
Fireball5939 2024-08-26 21:49:44 -05:00 committed by GitHub
parent 47b261f520
commit 95394b5956
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 3 deletions

@ -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

@ -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