logNetwork: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{uc:{{PAGENAME}}}} " to "") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
|arma3 | |game1= arma3 | ||
|version1= 1.56 | |||
|1.56 | |||
|gr1= Multiplayer | |gr1= Multiplayer | ||
Line 9: | Line 8: | ||
|gr2= Diagnostic | |gr2= Diagnostic | ||
| Registers new log file recording a network traffic and returns handle of the log. The log file is saved inside the | |descr= Registers new log file recording a network traffic and returns handle of the log. The log file is saved inside the {{arma3}} root folder. | ||
{{Feature|important|[[logNetwork]] can potentially create a large log file.}} | {{Feature|important|[[logNetwork]] can potentially create a large log file.}} | ||
| [[logNetwork]] logFile | |s1= [[logNetwork]] logFile | ||
|p1= logFile: [[String]] - Where to store the log | |p1= logFile: [[String]] - Where to store the log | ||
Line 18: | Line 17: | ||
|p2= filter: [[Array]] of [[String|strings]] - ???? | |p2= filter: [[Array]] of [[String|strings]] - ???? | ||
| [[Number]] - handle for the logging | |r1= [[Number]] - handle for the logging | ||
|x1= <code>_handle = [[logNetwork]] ["myLog.txt",[""]];</code> | |x1= <code>_handle = [[logNetwork]] ["myLog.txt", [""]];</code> | ||
|seealso= [[logNetworkTerminate]] | |seealso= [[logNetworkTerminate]] | ||
}} | }} | ||
Revision as of 14:27, 10 June 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:
- 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