chore(appcache) console.log -> Util.log

This commit is contained in:
coderaiser 2013-09-26 06:14:54 +00:00
parent fe40d99b45
commit bb84fd6155

View file

@ -75,7 +75,7 @@
};
exports.watch = function(pFileName){
console.log(pFileName + ' is watched');
Util.log(pFileName + ' is watched');
if(!FileNames[pFileName] &&
pFileName !== './cloudcmd.appcache'){
@ -121,8 +121,8 @@
function onWatch (){
return function(pEvent, pFileName){
console.log(pEvent);
console.log('file ' + pFileName + ' is changed');
Util.log(pEvent);
Util.log('file ' + pFileName + ' is changed');
processManifest();
};
}
@ -130,7 +130,7 @@
function onWatchFile(pFileName){
return function(pCurr, pPrev){
if(pCurr.mtime !== pPrev.mtime){
console.log('file ' + pFileName + ' is changed');
Util.log('file ' + pFileName + ' is changed');
processManifest();
}
};
@ -147,7 +147,7 @@
FallBack_s;
fs.writeFile('cloudcmd.appcache', Manifest, function(){
console.log('cloudcmd.appcache refreshed');
Util.log('cloudcmd.appcache refreshed');
});
}
})();