<!-- Do not edit this file. It is automatically generated by API Documenter. --> [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. <b>Signature:</b> ```typescript print(msg: any): void; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | msg | any | Value to be printed. | <b>Returns:</b> void ## Remarks RAM cost: 0 GB