logNetwork: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (added file location)
m (updated description)
Line 1: Line 1:
{{Command|= Comments
{{Command|= Comments
|arma3|= Game name
|arma3|= Game name
|1.56|= Game version
|1.56|= Game version
| 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. |= Description
 
| '''logNetwork''' logFile |= Syntax
| 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
 
| [[logNetwork]] logFile |= Syntax
 
|p1= logFile: [[String]] - Where to store the log  |= PARAMETER1  
|p1= logFile: [[String]] - Where to store the log  |= PARAMETER1  


Line 10: Line 16:
| [[Number]] - handle for the logging |= RETURNVALUE  
| [[Number]] - handle for the logging |= RETURNVALUE  


|x1= <code>_handle = '''logNetwork''' ["myLog.txt",[""]];</code>|= EXAMPLE1  
|x1= <code>_handle = [[logNetwork]] ["myLog.txt",[""]];</code>|= EXAMPLE1  
 
| [[logNetworkTerminate]] |= SEEALSO  
| [[logNetworkTerminate]] |= SEEALSO  
|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  
}}
}}



Revision as of 15:50, 11 June 2018

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

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