logNetwork: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\{\{GameCategory\|(arma[0123])\|[ _]?New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
|arma3 | |arma3 | ||
|1.56 | |1.56 | ||
|gr1= Multiplayer | |gr1= Multiplayer | ||
|gr2= Diagnosis | |gr2= Diagnosis | ||
| 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. | | 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. | ||
{{Important|[[logNetwork]] can potentially create a large log file.}} | {{Important|[[logNetwork]] can potentially create a large log file.}} | ||
| [[logNetwork]] logFile | | [[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|strings]] - ???? | ||
| [[Number]] - handle for the logging | | [[Number]] - handle for the logging | ||
|x1= <code>_handle = [[logNetwork]] ["myLog.txt",[""]];</code> | |x1= <code>_handle = [[logNetwork]] ["myLog.txt",[""]];</code> | ||
| [[logNetworkTerminate]] | | [[logNetworkTerminate]] | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= |
Revision as of 01:03, 18 January 2021
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.
- 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