debugLog: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(This command never worked in retail version.)
m (Text replacement - "{{Feature|Warning|" to "{{Feature|warning|")
 
(45 intermediate revisions by 9 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]]


{{Command|= Comments
|game1= ofp
____________________________________________________________________________________________
|version1= 1.00


| ofp |= Game name
|game2= ofpe
|version2= 1.00


| 1.0|= Game version
|game3= arma1
____________________________________________________________________________________________
|version3= 1.00


| Dump argument type and value to debugging output. Note: this command has no real use in the retail version, because it does nothing.|= 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
 
|p1= anything: [[Anything]]


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


<!-- Note Section END -->
|x1= <sqf>debugLog player;</sqf>
</dl>


<h3 style="display:none">Bottom Section</h3>
|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