2019-03-03 04:08:54 +01:00
|
|
|
disableLog() Netscript Function
|
|
|
|
===============================
|
|
|
|
|
2021-03-12 08:51:56 +01:00
|
|
|
.. js:function:: disableLog(functionName)
|
2019-03-03 04:08:54 +01:00
|
|
|
|
|
|
|
:RAM cost: 0 GB
|
|
|
|
|
2021-03-12 08:51:56 +01:00
|
|
|
:param string functionName: Name of function for which to disable logging.
|
|
|
|
|
2019-03-03 04:08:54 +01:00
|
|
|
Disables logging for the given function. Logging can be disabled for
|
|
|
|
all functions by passing 'ALL' as the argument.
|
|
|
|
|
|
|
|
Note that this does not completely remove all logging functionality.
|
2021-03-12 08:51:56 +01:00
|
|
|
This only stops a function from logging when the function is successful. If
|
|
|
|
the function fails, it will still log the reason for failure.
|
2019-03-03 04:08:54 +01:00
|
|
|
|
|
|
|
Notable functions that cannot have their logs disabled: run, exec, exit
|