MCPcopy Create free account
hub / github.com/apache/mesos / getLogSeverity

Function getLogSeverity

src/logging/logging.cpp:369–381  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

367
368
369google::LogSeverity getLogSeverity(const string& logging_level)
370{
371 if (logging_level == "INFO") {
372 return google::INFO;
373 } else if (logging_level == "WARNING") {
374 return google::WARNING;
375 } else if (logging_level == "ERROR") {
376 return google::ERROR;
377 } else {
378 // TODO(bmahler): Consider an error here.
379 return google::INFO;
380 }
381}
382
383
384void initialize(

Callers 3

initializeFunction · 0.85
initializeMethod · 0.85
initializeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected