networking - how to log the wow network latency in to a file -


i want log wow network latency in file ,like c:/wowlatency.txt

now ,i can use lua stript log wow's chat log file.but want log own log file .can ?

if have infrastructure in place monitor latency (ie. calling getnetstats every 30 seconds), can use lua's built in file i/o facilities open desired log file:

local latencylog = io.open("c:/wowlatency.txt","w")  -- enter whatever loop may have   latencylog:write(message_string_about_latency)   -- don't forget write \n if it's not in string   -- repeat  -- after finishing log latencylog:close() 

Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -