mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-18 07:18:38 +02:00
Doc changes
This commit is contained in:
15
doc/source/netscript/basicfunctions/clearLog.rst
Normal file
15
doc/source/netscript/basicfunctions/clearLog.rst
Normal file
@@ -0,0 +1,15 @@
|
||||
clearLog() Netscript Function
|
||||
===============================
|
||||
|
||||
.. js:function:: clearLog()
|
||||
|
||||
:RAM cost: 0 GB
|
||||
|
||||
Clears the script’s logs.
|
||||
|
||||
Examples:
|
||||
|
||||
.. code-block:: javascript
|
||||
|
||||
//Opens the logs, clears it of whatever may have been there before and prevents non-print() functions from printing to log
|
||||
ns.tail();ns.clearLog();ns.disableLog("ALL");
|
||||
Reference in New Issue
Block a user