add log system for ios cordova