mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-17 21:23:54 +01:00
31 lines
616 B
Markdown
31 lines
616 B
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [disableLog](./bitburner.ns.disablelog.md)
|
||
|
|
||
|
## NS.disableLog() method
|
||
|
|
||
|
Disables logging for the given function.
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
disableLog(fn: string): void;
|
||
|
```
|
||
|
|
||
|
## Parameters
|
||
|
|
||
|
| Parameter | Type | Description |
|
||
|
| --- | --- | --- |
|
||
|
| fn | string | Name of function for which to disable logging. |
|
||
|
|
||
|
<b>Returns:</b>
|
||
|
|
||
|
void
|
||
|
|
||
|
## Remarks
|
||
|
|
||
|
RAM cost: 0 GB
|
||
|
|
||
|
Logging can be disabled for all functions by passing `ALL` as the argument.
|
||
|
|