| 54 | } |
| 55 | |
| 56 | void SetStderrLogging(int severity) { |
| 57 | #ifdef USE_GLOG |
| 58 | google::SetStderrLogging(severity); |
| 59 | #else |
| 60 | for (int i = 0; i < NUM_SEVERITIES; ++i) { |
| 61 | not_log_stderr[i] = i >= severity ? false : true; |
| 62 | } |
| 63 | #endif |
| 64 | } |
| 65 | |
| 66 | void SetLogDestination(int severity, const char* path) { |
| 67 | #ifdef USE_GLOG |