log in *.txt file and addLog function for JS code execute in WebView