---
name: "BIS_fnc_logFormat"
type: function
status: ok
groups: ["Diagnostic"]
arma3_since: "1.00"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_logFormat
revid: 351747
updated: 2023-12-30T21:46:04Z
---

# BIS_fnc_logFormat

*Function · Diagnostic · Arma 3 v1.00*

## Description

Display debug message.

> [!NOTE]
> `allowFunctionsLog` has to be set to **1** in [Description.ext](../topics/Description.ext.md) for this function to have any effect.

## Syntax

```sqf
[text, parameters] call BIS_fnc_logFormat
```

**Parameters:**

- **text**: [String](../topics/String.md) - formatted message or first param
- **parameters**: [Anything](../topics/Anything.md) - (Optional) additional parameters

**Returns:** [Boolean](../topics/Boolean.md) - [true](../commands/true.md) when done

## Examples

### Example 1

```sqf
["My logged name: %1, My position: %2", name player, getPos player] call BIS_fnc_logFormat;
// RPT output:
// 12:34:56 "BIS_fnc_log: [BIS_fnc_debugConsoleExec] My logged name: Miller, My position: [4866.73,21947.9,0.00143433]"
```

## See also

[BIS_fnc_error](../functions/BIS_fnc_error.md) · [BIS_fnc_logFormatServer](../functions/BIS_fnc_logFormatServer.md) · [BIS_fnc_errorMsg](../functions/BIS_fnc_errorMsg.md) · [BIS_fnc_log](../functions/BIS_fnc_log.md)

<sub>Source: [BI Community Wiki — BIS fnc logFormat](https://community.bistudio.com/wiki/BIS_fnc_logFormat) (revision 351747).</sub>
