logNetwork: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| \}\}" to " }}")
m (Text replacement - " <h3 style='display:none'>Notes</h3>" to "")
Line 29: Line 29:
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]


<h3 style='display:none'>Notes</h3>
<dl class="command_description">
<dl class="command_description">
<!-- BEGIN Note Section -->
<!-- BEGIN Note Section -->

Revision as of 16:17, 18 January 2021

Hover & click on the images for description

Description

Description:
Registers new log file recording a network traffic and returns handle of the log. The log file is saved inside the Arma 3 root folder.
logNetwork can potentially create a large log file.
Groups:
MultiplayerDiagnosis

Syntax

Syntax:
logNetwork logFile
Parameters:
logFile: String - Where to store the log
filter: Array of strings - ????
Return Value:
Number - handle for the logging

Examples

Example 1:
_handle = logNetwork ["myLog.txt",[""]];

Additional Information

See also:
logNetworkTerminate

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

Bottom Section