BIS fnc log: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Generated by BIS_fnc_exportFunctionsToWiki)
 
m (sa)
 
(56 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|= Comments
|game1= arma3
____________________________________________________________________________________________
|version1= 0.50


| tkoh |= Game name
|gr1= Diagnostic


|1.00|= Game version
|descr= Log debug message.
____________________________________________________________________________________________
{{Feature|informative|{{hl|[[Description.ext#allowFunctionsLog|allowFunctionsLog]]}} has to be set to '''1''' in [[Description.ext]] for this function to have any effect.}}


| <pre>/*
|s1= param call [[BIS_fnc_log]]


Description:
|p1= param: [[Anything]]
Display debug message


Parameter(s):
|r1= [[Boolean]]
_this select 0: STRING - Formatted message or first param
_this select n (Optional): ANY - additional parameters


Returns:
|x1= <sqf>diag_tickTime call BIS_fnc_log;</sqf>
BOOL - true when done
*/


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
|x2= <sqf>[dayTime, overcast, fog] call BIS_fnc_log;</sqf>
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_log]]; --> |= Syntax
|x3= <sqf>(name player) call BIS_fnc_log;</sqf>
 
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
 
|x1= <code></code> |=
____________________________________________________________________________________________
 
| |= See also


|seealso= [[BIS_fnc_error]] [[BIS_fnc_logFormat]] [[BIS_fnc_errorMsg]] [[BIS_fnc_logFormatServer]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Debug|{{uc:log}}]]
[[Category:Functions|{{uc:log}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:log}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:log}}]]

Latest revision as of 22:31, 30 December 2023

Hover & click on the images for description

Description

Description:
Log debug message.
allowFunctionsLog has to be set to 1 in Description.ext for this function to have any effect.
Execution:
call
Groups:
Diagnostic

Syntax

Syntax:
param call BIS_fnc_log
Parameters:
param: Anything
Return Value:
Boolean

Examples

Example 1:
diag_tickTime call BIS_fnc_log;
Example 2:
[dayTime, overcast, fog] call BIS_fnc_log;
Example 3:
(name player) call BIS_fnc_log;

Additional Information

See also:
BIS_fnc_error BIS_fnc_logFormat BIS_fnc_errorMsg BIS_fnc_logFormatServer

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note