debugLog: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Reverted edits by Hardrock (Talk); changed back to last version by Planck)
m (Text replacement - "{{Feature|Warning|" to "{{Feature|warning|")
 
(47 intermediate revisions by 11 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands|DEBUGLOG]]
{{RV|type=command
[[Category:Scripting Commands OFP 1.96|DEBUGLOG]]
[[Category:Scripting Commands OFP 1.46|DEBUGLOG]]
[[Category:Scripting Commands ArmA|DEBUGLOG]]


|game1= ofp
|version1= 1.00


<h2 style="color:#000066">'''debuglog ''anything'''''</h2>
|game2= ofpe
|version2= 1.00


|game3= arma1
|version3= 1.00


'''Operand types:'''
|game4= arma2
|version4= 1.00


'''anything:''' [[Any Value]]
|game5= arma2oa
|version5= 1.50


'''Type of returned value:'''
|game6= tkoh
|version6= 1.00


[[Nothing]]
|game7= arma3
|version7= 0.50


'''Description:'''
|gr1= Broken Commands


Dump argument type and value to debugging output.
|descr= Dump argument type and value to debugging output.  


{{Feature|warning|This command is non-functional in the retail version. Use [[diag_log]] instead.}}


'''Example:'''
|s1= [[debugLog]] anything


'''debugLog''' [[player]]
|p1= anything: [[Anything]]
 
|r1= [[Nothing]]
 
|x1= <sqf>debugLog player;</sqf>
 
|seealso= [[diag_log]]
}}

Latest revision as of 00:25, 2 February 2024

Hover & click on the images for description

Description

Description:
Dump argument type and value to debugging output.
This command is non-functional in the retail version. Use diag_log instead.
Groups:
Broken Commands

Syntax

Syntax:
debugLog anything
Parameters:
anything: Anything
Return Value:
Nothing

Examples

Example 1:
debugLog player;

Additional Information

See also:
diag_log

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