[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [clearLog](./bitburner.ns.clearlog.md)
## NS.clearLog() method
Clears the script’s logs.
Signature:
```typescript
clearLog(): void;
```
Returns:
void
## Remarks
RAM cost: 0 GB