logNetwork: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *W([a-z ])" to "$1 - w$2")
 
(One intermediate revision by one other user not shown)
Line 13: Line 13:
|s1= [[logNetwork]] logFile
|s1= [[logNetwork]] logFile


|p1= logFile: [[String]] - Where to store the log
|p1= logFile: [[String]] - where to store the log


|p2= filter: [[Array]] of [[String|strings]] - ????
|p2= filter: [[Array]] of [[String]]s - ????


|r1= [[Number]] - handle for the logging
|r1= [[Number]] - handle for the logging

Latest revision as of 17:35, 8 November 2023

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:
MultiplayerDiagnostic

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