BIS_fnc_logFormat

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 version 1.001.00
Hover & click on the images for descriptions

Description

Description:
Display debug message.
allowFunctionsLog has to be set to 1 in the description.ext for this function to work.

Syntax

Syntax:
[Text, Parameters] call BIS_fnc_logFormat;
Parameters:
Text: String - Formatted message or first param
Parameters: Any values - Optional, additional parameters
Return Value:
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]"

Additional Information

Execution:
call
See also:
BIS_fnc_log
Groups:
Diagnostic

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

Notes

Bottom Section