logNetwork: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (fixed syntax)
m (removed comment, syntax is working now)
Line 28: Line 28:
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
<!-- CONTINUE Notes -->
<dl class="command_description">
<dd class="notedate">Posted on March 15, 2016 - 04:47 (UTC)</dd>
<dt class="note">[[User:Will|Will]]</dt>
<dd class="note">
With his syntax i get an error... -> logNetwork "networkLog.txt";
<code> 5:37:06 Error in expression <logNetwork "networkLog.txt";>
5:37:06  Error position: <logNetwork "networkLog.txt";>
5:37:06  Error lognetwork: Typ Zeichenfolge(STRING), erwartet(except) Array
</code>
</dd>
</dl>
<!-- DISCONTINUE Notes -->

Revision as of 09:12, 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.
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