Arma 3 Scripting

Function in Diagnostic

BIS_fnc_logFormat

Also available as Markdown and JSON, or read the original wiki page.

Description

Display debug message.

Note

allowFunctionsLog has to be set to 1 in Description.ext for this function to have any effect.

Syntax

[text, parameters] call BIS_fnc_logFormat

Parameters:

Returns: Boolean - true when done

Examples

Example 1

["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 · BIS_fnc_logFormatServer · BIS_fnc_errorMsg · BIS_fnc_log