logNetwork: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{GameCategory\|(arma[0123])\|[ _]?New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}")
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|Comments=
{{Command


|arma3|Game name=
|arma3


|1.56|Game version=
|1.56


|gr1= Multiplayer |GROUP1=
|gr1= Multiplayer


|gr2= Diagnosis |GROUP2=
|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.}} |DESCRIPTION=
{{Important|[[logNetwork]] can potentially create a large log file.}}


| [[logNetwork]] logFile |SYNTAX=
| [[logNetwork]] logFile


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


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


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


|x1= <code>_handle = [[logNetwork]] ["myLog.txt",[""]];</code>|EXAMPLE1=
|x1= <code>_handle = [[logNetwork]] ["myLog.txt",[""]];</code>


| [[logNetworkTerminate]] |SEEALSO=
| [[logNetworkTerminate]]


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  

Revision as of 01:03, 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

Notes

Bottom Section