debugLog: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (removed double category)
m (Text replacement - "{{Feature|Warning|" to "{{Feature|warning|")
 
(39 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| ofp |= Game name
|game1= ofp
|version1= 1.00


| 1.00|= Game version
|game2= ofpe
____________________________________________________________________________________________
|version2= 1.00


| Dump argument type and value to debugging output.  
|game3= arma1
|version3= 1.00


'''Note:''' This command is non-functional in the retail version.|= Description
|game4= arma2
____________________________________________________________________________________________
|version4= 1.00


| '''debugLog''' anything |= Syntax
|game5= arma2oa
|p1 = anything: [[Any Value]]
|version5= 1.50
| [[Nothing]] |= Return value
____________________________________________________________________________________________
|x1 = <code>'''debugLog''' [[player]]</code>
|  |= See also


}}
|game6= tkoh
|version6= 1.00
 
|game7= arma3
|version7= 0.50
 
|gr1= Broken Commands
 
|descr= Dump argument type and value to debugging output.
 
{{Feature|warning|This command is non-functional in the retail version. Use [[diag_log]] instead.}}
 
|s1= [[debugLog]] anything


<h3 style="display:none">Notes</h3>
|p1= anything: [[Anything]]
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
|r1= [[Nothing]]
</dl>


<h3 style="display:none">Bottom Section</h3>
|x1= <sqf>debugLog player;</sqf>


[[Category:Scripting Commands|DEBUGLOG]]
|seealso= [[diag_log]]
[[Category:Scripting Commands OFP 1.96|DEBUGLOG]]
}}
[[Category:Scripting Commands OFP 1.46|DEBUGLOG]]
[[Category:Scripting Commands ArmA|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]

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