MCPcopy Create free account
hub / github.com/apache/singa / SetStderrLogging

Function SetStderrLogging

src/utils/logging.cc:56–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56void 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
66void SetLogDestination(int severity, const char* path) {
67#ifdef USE_GLOG

Callers 1

TESTFunction · 0.85

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.68