acimpoeru / google-glog

Automatically exported from code.google.com/p/google-glog
Other
0 stars 0 forks source link

Different debug levels #67

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hello,

I miss one possibility, namely, to have different debugging output levels which 
are all removed in release versions.

The GOOGLE_STRIP_LOG macro is not suitable because VLOG is on the same level as 
LOG(info) and therefore would disable logging at all.

My suggestion would be to introduce a 'DVLOG(int)' macro similar to VLOG for 
this purpose.

Thanks,
Holger

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by holger....@gmail.com on 29 Sep 2010 at 8:08

GoogleCodeExporter commented 8 years ago
DVLOG was introduced 2 years ago 
(http://code.google.com/p/google-glog/source/detail?r=29). You may just need to 
update your glog version.

Original comment by shinichi...@gmail.com on 30 Aug 2011 at 8:58