mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-30 09:57:32 +01:00
15 lines
374 B
ReStructuredText
15 lines
374 B
ReStructuredText
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"); |