mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-25 23:47:34 +01:00
14 lines
360 B
ReStructuredText
14 lines
360 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
|
|
|
|
isLogEnabled('hack'); // returns: true |