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

18 lines
342 B
ReStructuredText
Raw Normal View History

clearLog() Netscript Function
=============================
.. js:function:: clearLog()
:RAM cost: 0 GB
2021-03-12 08:51:56 +01:00
Clears the script's logs. Useful when making monitoring scripts.
Examples:
.. code-block:: javascript
while(true) {
clearLog();
print(getServerMoneyAvailable('foodnstuff'));
}