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

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