mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-10 09:43:54 +01:00
17 lines
609 B
ReStructuredText
17 lines
609 B
ReStructuredText
disableLog() Netscript Function
|
|
===============================
|
|
|
|
.. js:function:: disableLog(fn)
|
|
|
|
:param string fn: Name of function for which to disable logging
|
|
:RAM cost: 0 GB
|
|
|
|
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.
|
|
This only stops a function from logging
|
|
when the function is successful. If the function fails, it will still log the reason for failure.
|
|
|
|
Notable functions that cannot have their logs disabled: run, exec, exit
|