BIS fnc log: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "|= |x3=" to "|Example2= |x3=")
(13 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Function|= Comments
{{Function|Comments=
____________________________________________________________________________________________
____________________________________________________________________________________________


| TKOH |= Game name
| arma3 |Game name=


|1.00|= Game version
|0.50|Game version=
____________________________________________________________________________________________
____________________________________________________________________________________________


| Log debug message. |= Description
| Log debug message.{{informative|'''allowFunctionsLog''' has to be set to '''1''' in the [[description.ext]] for this function to work.}} |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [param1,param2,...,paramN] call bis_fnc_log; |= Syntax
| param call [[BIS_fnc_log]]; |SYNTAX=


|p1= param1: [[Anything]] - logged value. When [[String]], it's used as [[format|formatted]] message. |= Parameter 1
|p1= param: [[Anything]] |PARAMETER1=


|p2= param2 - paramN: [[Anything]] |= Parameter 2
| [[Boolean]] |RETURNVALUE=
 
| [[Boolean]] |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>["Damage: %1 / Alive: %2", [[damage]] [[player]], [[alive]] player] call bis_fnc_log;</code> |= Example 1
|x1= <code>[[diag_tickTime]] [[call]] [[BIS_fnc_log]];</code> |Example1=


|x2= <code><nowiki>[</nowiki>[[daytime]], [[overcast]], [[fog]]] call bis_fnc_log;</code> |= Example 1
|x2= <code><nowiki>[</nowiki>[[daytime]], [[overcast]], [[fog]]] [[call]] [[BIS_fnc_log]];</code> |Example2=
 
|x3= <code>([[name]] [[player]]) [[call]] [[BIS_fnc_log]];</code> |=  
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= See also
| [[BIS fnc logFormat]] |SEEALSO=


}}
}}
Line 36: Line 36:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Function Group: Debug|{{uc:log}}]]
[[Category:Take_On_Helicopters:_Functions|log]]
[[Category:Functions|{{uc:log}}]]
[[Category:Function Group: Debug|log]]
[[Category:{{Name|tkoh}}: Functions|{{uc:log}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:log}}]]

Revision as of 12:54, 3 September 2019

Hover & click on the images for description

Description

Description:
Log debug message.Template:informative
Execution:
call
Groups:
Uncategorised

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

Notes

Bottom Section