aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAdam Cozzette <acozzette@google.com>2016-12-07 14:34:37 -0800
committerAdam Cozzette <acozzette@google.com>2016-12-07 14:34:37 -0800
commit2f29f0ae090ca8633ba1b81e8b22333ef091411c (patch)
tree2d035d64c5e323b7e8c14d183a0a71fc26985ab3 /docs
parent057389cae36b0fedab240a2c05885f860efe6c37 (diff)
downloadprotobuf-2f29f0ae090ca8633ba1b81e8b22333ef091411c.tar.gz
protobuf-2f29f0ae090ca8633ba1b81e8b22333ef091411c.tar.bz2
protobuf-2f29f0ae090ca8633ba1b81e8b22333ef091411c.zip
Send all protobuf logging to logcat by default on Android
Currently the default for protobuf on Android is to silently drop all log messages. This makes debugging difficult because things like GOOGLE_LOG(FATAL) will crash the process without actually logging a useful error. This CL changes the logging so that by default we send messages for all log levels to logcat (and stderr). Users can override this by setting GOOGLE_PROTOBUF_MIN_LOG_LEVEL. Also, that option was not being respected for non-Android platforms so I went ahead and fixed that to make things consistent.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions