mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-20 13:15:48 +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 |