Doc changes

This commit is contained in:
Mughur
2023-01-30 20:51:00 +02:00
parent 867236e153
commit 6369ab434b
17 changed files with 244 additions and 3 deletions

View File

@@ -8,4 +8,11 @@ disableLog() Netscript Function
:param string functionName: Name of function for which to disable logging.
Disables logging for the given function. Logging can be disabled for
all functions by passing 'ALL' as the argument.
all functions by passing 'ALL' as the argument. Print() can always print to log.
Examples:
.. code-block:: javascript
//Opens the logs, clears it of whatever may have been there before and prevents non-print() functions from logging
ns.tail();ns.clearLog();ns.disableLog("ALL");