Table of Contents
adv.saveLog()
wrtc.adv.saveLog() saves the wrtc_kit log to a local file on user's computer.
Arguments
wrtc.adv.saveLog(name, addtxt)
- name - (optional) string containing filename. If false or missing a name based on username and date will be autogenerated.
- addtxt - (optional) string containing text to be added to the end of the log
Returns
Nothing.
Example
To add a "Save log" button to your webpage:
<button type="button" onclick="wrtc.adv.saveLog();">Save Log</button>