Description[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=
Committed: https://crrev.com/4bf260f81b3909da9099e5bcac948cbc0ca5e295
Cr-Commit-Position: refs/heads/master@{#313083}
Patch Set 1 #
Total comments: 1
Messages
Total messages: 9 (2 generated)
|