mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-15 04:03:50 +01:00
18 lines
342 B
ReStructuredText
18 lines
342 B
ReStructuredText
clearLog() Netscript Function
|
|
=============================
|
|
|
|
.. js:function:: clearLog()
|
|
|
|
:RAM cost: 0 GB
|
|
|
|
Clears the script's logs. Useful when making monitoring scripts.
|
|
|
|
Examples:
|
|
|
|
.. code-block:: javascript
|
|
|
|
while(true) {
|
|
clearLog();
|
|
print(getServerMoneyAvailable('foodnstuff'));
|
|
}
|