bramski / angular-indexedDB

An angularjs serviceprovider to utilize indexedDB with angular
165 stars 49 forks source link

logs in code #64

Closed madmoizo closed 6 years ago

madmoizo commented 8 years ago

Hi,

In he original code, console.logs were used for dev purpose. It seems that we can't disable them now.

bramski commented 8 years ago

Okay. Do you want to configure their removal or just remove them and submit a PR? On May 11, 2016 7:32 AM, "frlinw" notifications@github.com wrote:

Hi,

In he original code, console.logs were used for dev purpose. It seems that we can't disable them now.

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/bramski/angular-indexedDB/issues/64

madmoizo commented 8 years ago

Just remove them, i will submit a PR if you agree with that.

ankurk91 commented 8 years ago

Angular allows to disable logging.

app. config([ '$logProvider' , function($logProvider) {

$logProvider. debugEnabled(false );

}]);

This will disable any $log.debug call

https://docs.angularjs.org/api/ng/provider/$logProvider