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

Function InitLogging

src/utils/logging.cc:37–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35bool not_log_stderr[NUM_SEVERITIES] = {};
36
37void InitLogging(const char* argv) {
38#ifdef USE_GLOG
39 google::InitGoogleLogging(argv);
40#else
41 LogToStderr();
42#endif
43}
44
45void LogToStderr() {
46#ifdef USE_GLOG

Callers 1

mainFunction · 0.85

Calls 1

LogToStderrFunction · 0.70

Tested by 1

mainFunction · 0.68