aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests.sh
diff options
context:
space:
mode:
authorGravatar Adam Cozzette <acozzette@google.com>2016-12-07 14:34:37 -0800
committerGravatar Adam Cozzette <acozzette@google.com>2016-12-07 14:34:37 -0800
commit2f29f0ae090ca8633ba1b81e8b22333ef091411c (patch)
tree2d035d64c5e323b7e8c14d183a0a71fc26985ab3 /tests.sh
parent057389cae36b0fedab240a2c05885f860efe6c37 (diff)
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 'tests.sh')
0 files changed, 0 insertions, 0 deletions