mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-30 12:57:06 +02:00
update doc
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [printf](./bitburner.ns.printf.md)
|
||||
|
||||
## NS.printf() method
|
||||
|
||||
Prints a formatted string to the script’s 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
|
||||
|
||||
Reference in New Issue
Block a user