mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-26 17:43:48 +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();
|