mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-19 12:45:45 +01:00
15 lines
364 B
ReStructuredText
15 lines
364 B
ReStructuredText
isLogEnabled() Netscript Function
|
|
=================================
|
|
|
|
.. js:function:: isLogEnabled(functionName)
|
|
|
|
:RAM cost: 0 GB
|
|
:param string functionName: Name of function to check.
|
|
:returns: ``true`` is logs are enabled for this function or for 'ALL'
|
|
|
|
Example:
|
|
|
|
.. code-block:: javascript
|
|
|
|
ns.isLogEnabled('hack'); // returns: true
|