chokkarg / worktime

Automatically exported from code.google.com/p/worktime
0 stars 0 forks source link

Disable non critical logging in market releases #125

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Disable all non-critical logging in market releases.

There already is method "isStableBuild(Context)" available in the ContextUtils 
class. This utility-method can be used to check for a stable build (= market 
release).

Log-levels only available during development (and nightly builds):
- ASSERT
- DEBUG
- INFO
- VERBOSE
Log-levels still available in a market release (stable releases):
- WARN
- ERROR

Original issue reported on code.google.com by dirkvran...@gmail.com on 11 Jul 2012 at 12:23

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Previous list of log-levels is invalid!

Log-levels only available during development (and nightly builds):
- DEBUG
- INFO
- VERBOSE
Log-levels still available in a market release (stable releases):
- WARN
- ERROR
- ASSERT

Original comment by dirkvran...@gmail.com on 11 Jul 2012 at 12:28

GoogleCodeExporter commented 8 years ago

Original comment by dirkvran...@gmail.com on 11 Jul 2012 at 1:15