BIS fnc log: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3>" to "")
m (Some wiki formatting)
(28 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function
{{RV|type=function


| arma3
|game1= arma3
|version1= 0.50


|0.50
|gr1= Diagnostic


|gr1 = Diagnostic
|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.}}


| Log debug message.{{Informative|'''allowFunctionsLog''' has to be set to '''1''' in the [[description.ext]] for this function to work.}}
|s1= param call [[BIS_fnc_log]]
 
| param call [[BIS_fnc_log]];


|p1= param: [[Anything]]
|p1= param: [[Anything]]


| [[Boolean]]
|r1= [[Boolean]]
 
|x1= <code>[[diag_tickTime]] [[call]] [[BIS_fnc_log]];</code>


|x2= <code><nowiki>[</nowiki>[[daytime]], [[overcast]], [[fog]]] [[call]] [[BIS_fnc_log]];</code>
|x1= <sqf>diag_tickTime call BIS_fnc_log;</sqf>


|x3= <code>([[name]] [[player]]) [[call]] [[BIS_fnc_log]];</code>
|x2= <sqf>[dayTime, overcast, fog] call BIS_fnc_log;</sqf>


| [[BIS fnc logFormat]]
|x3= <sqf>(name player) call BIS_fnc_log;</sqf>


|seealso= [[BIS_fnc_logFormat]]
}}
}}
[[Category:Functions|{{uc:log}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:log}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:log}}]]

Revision as of 14:35, 13 July 2022

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_logFormat

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