bitburner-src/markdown/bitburner.ns.printf.md
Olivier Gagnon ceb2a48d9f update doc
2022-03-17 16:50:46 -04:00

32 lines
620 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [NS](./bitburner.ns.md) &gt; [printf](./bitburner.ns.printf.md)
## NS.printf() method
Prints a formatted string to the scripts logs.
<b>Signature:</b>
```typescript
printf(format: string, ...args: any[]): void;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| format | string | format of the message |
| args | any\[\] | Value(s) to be printed. |
<b>Returns:</b>
void
## Remarks
RAM cost: 0 GB
see: https://github.com/alexei/sprintf.js