MCPcopy Create free account
hub / github.com/OpenKinect/libfreenect2 / level2str

Method level2str

src/logging.cpp:85–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85std::string Logger::level2str(Level l)
86{
87 switch(l)
88 {
89 case Logger::Debug:
90 return "Debug";
91 case Logger::Info:
92 return "Info";
93 case Logger::Warning:
94 return "Warning";
95 case Logger::Error:
96 return "Error";
97 default:
98 return "";
99 }
100}
101
102/** Logger class to the console (stderr). */
103class ConsoleLogger : public Logger

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected