bitburner-src/doc/source/netscript/basicfunctions/isLogEnabled.rst
2023-01-06 14:43:09 +02:00

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