phonegap logging