Open zhiyaotl opened 1 year ago
LogDestination::MaybeLogToStderr(data->severity, data_->messagetext, MaybeLogToStderr can log to Logcat,but in this if branch,it also log to files which I do not want on Android. How can I only log to Logcat on Android? any suggestion will be appreciated.
You can try google::LogToStderr() instead of FLAGS_logtostderr
google::LogToStderr()
FLAGS_logtostderr
LogDestination::MaybeLogToStderr(data->severity, data_->messagetext, MaybeLogToStderr can log to Logcat,but in this if branch,it also log to files which I do not want on Android. How can I only log to Logcat on Android? any suggestion will be appreciated.