diff options
author | perezju <perezju@chromium.org> | 2015-01-26 09:34:04 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-01-26 17:34:52 +0000 |
commit | 4bf260f81b3909da9099e5bcac948cbc0ca5e295 (patch) | |
tree | 70af8c31e47967a341fa388b847ccf27a80906a8 /jingle | |
parent | 73f22c10aa03fca303bf8b9d8cbd204b52b654fb (diff) | |
download | chromium_src-4bf260f81b3909da9099e5bcac948cbc0ca5e295.zip chromium_src-4bf260f81b3909da9099e5bcac948cbc0ca5e295.tar.gz chromium_src-4bf260f81b3909da9099e5bcac948cbc0ca5e295.tar.bz2 |
[Android] Provide a logging suppressing context manager
Using this we will be able to write:
with logging_utils.SuppressLogging():
# all but CRITICAL logging messages are suppressed
logging.info('just doing some thing') # not shown
logging.critical('something really bad happened') # still shown
BUG=
Review URL: https://codereview.chromium.org/875083002
Cr-Commit-Position: refs/heads/master@{#313083}
Diffstat (limited to 'jingle')
0 files changed, 0 insertions, 0 deletions