mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-22 14:12:27 +01:00
19 lines
428 B
ReStructuredText
19 lines
428 B
ReStructuredText
|
closeTail() Netscript Function
|
|||
|
===============================
|
|||
|
|
|||
|
.. js:function:: closeTail([scriptPid])
|
|||
|
|
|||
|
:RAM cost: 0 GB
|
|||
|
|
|||
|
:param number scriptPid: PID of the script of which to open the logs.
|
|||
|
|
|||
|
Closes a script’s logs.
|
|||
|
|
|||
|
If the function is called with no arguments, it will open the current script’s logs.
|
|||
|
|
|||
|
Examples:
|
|||
|
|
|||
|
.. code-block:: javascript
|
|||
|
|
|||
|
ns.closeTail(12);
|
|||
|
ns.closeTail();
|