[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [print](./bitburner.ns.print.md)
## NS.print() method
Prints a value or a variable to the script’s logs.
Signature:
```typescript
print(msg: string | number | string[] | number[]): void;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| msg | string \| number \| string\[\] \| number\[\] | Value to be printed. |
Returns:
void
## Remarks
0 GB