bitburner-src/markdown/bitburner.ns.disablelog.md
omuretsu 06a985bdf8 Revert "Remove markdown from git tracking (#139)"
This reverts commit bbb6e3f309935aebac74ddb1fbeec12dfb7540b1.
2022-10-21 11:16:00 -04:00

824 B

Home > bitburner > NS > disableLog

NS.disableLog() method

Disables logging for the given function.

Signature:

disableLog(fn: string): void;

Parameters

Parameter Type Description
fn string Name of function for which to disable logging.

Returns:

void

Remarks

RAM cost: 0 GB

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.