ng-table icon indicating copy to clipboard operation
ng-table copied to clipboard

Option to get rid of debug logging

Open rconrad opened this issue 12 years ago • 14 comments

Hi is there an option to switch the debug logs on/off for displaying in the console?

I want to turn them off currently and find no easy way to do it.

-RC

rconrad avatar Dec 10 '13 15:12 rconrad

+1 getting the same thing in v0.3.1

sbehun avatar Dec 18 '13 19:12 sbehun

Yes, please enable this option

andrewboni avatar Jan 09 '14 23:01 andrewboni

ditto

guldner avatar Jan 13 '14 17:01 guldner

You can turn off debug logging with angular's $logProvider.

app.config(function($logProvider) {
  $logProvider.debugEnabled(false);
});

hazeledmands avatar Jan 13 '14 18:01 hazeledmands

+1

@demands Yes you can but doing that you also disable application level debug logs. Perhaps the $log service is just too simple, as it doesn't has filtering.

gunta avatar Jan 14 '14 06:01 gunta

+1

I don't wanna disable my app debug log, only the ng-table info log.

gfpacheco avatar Jan 16 '14 12:01 gfpacheco

+1

ghost avatar Jan 16 '14 14:01 ghost

I've made a pull request adding debugMode support: https://github.com/esvit/ng-table/pull/174

gfpacheco avatar Jan 21 '14 00:01 gfpacheco

+1

nwhite89 avatar Jan 26 '14 14:01 nwhite89

+1, I need this feature too.

dddpaul avatar Feb 01 '14 11:02 dddpaul

+1

numediaweb avatar Feb 13 '14 20:02 numediaweb

My pull request was merged into master, it shall be available in the next stable version (v0.3.2)

gfpacheco avatar Feb 13 '14 21:02 gfpacheco

+1 the log messages are very annoying (they should be configurable)

liuq avatar May 13 '14 20:05 liuq

+1, Looks like this is live as of v0.3.2 and can be closed. (Note: the website still shows v0.3.1 as the current version, so there may be some confusion there with people still assuming v0.3.1 is the most current).

justinklemm avatar Sep 23 '14 16:09 justinklemm