logNetwork: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
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...)
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *W([a-z ])" to "$1 - w$2")
 
(15 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Command
{{RV|type=command


|arma3
|game1= arma3
 
|version1= 1.56
|1.56


|gr1= Multiplayer
|gr1= Multiplayer


|gr2= Diagnosis
|gr2= Diagnostic
 
| 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.}}
 
| [[logNetwork]] logFile


|p1= logFile: [[String]] - Where to store the log
|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.}}


|p2= filter: [[Array]] of [[String|strings]] - ????
|s1= [[logNetwork]] logFile


| [[Number]] - handle for the logging
|p1= logFile: [[String]] - where to store the log


|x1= <code>_handle = [[logNetwork]] ["myLog.txt",[""]];</code>
|p2= filter: [[Array]] of [[String]]s - ????


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


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


|seealso= [[logNetworkTerminate]]
}}
}}
<h3 style='display:none'>Bottom Section</h3>
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
<h3 style='display:none'>Notes</h3>
<dl class="command_description">
<!-- BEGIN Note Section -->
<!-- END Note Section -->
</dl>
<h3 style="display:none">Bottom Section</h3>
{{GameCategory|arma3|New Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}

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