bitburner-src/doc/source/netscript/basicfunctions/clearLog.rst

15 lines
374 B
ReStructuredText
Raw Normal View History

2023-01-30 19:51:00 +01:00
clearLog() Netscript Function
===============================
.. js:function:: clearLog()
:RAM cost: 0 GB
Clears the scripts 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");