bitburner-src/markdown/bitburner.ns.disablelog.md
2024-03-11 13:14:33 -04:00

696 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.

For specific interfaces, use the form "namespace.functionName". (e.g. "ui.setTheme")