MCPcopy Create free account
hub / github.com/OpenNI/OpenNI / xnLogGetSeverityString

Function xnLogGetSeverityString

Source/OpenNI/XnLog.cpp:154–171  ·  view source on GitHub ↗

--------------------------------------------------------------------------- Code ---------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

152// Code
153//---------------------------------------------------------------------------
154static const XnChar* xnLogGetSeverityString(XnLogSeverity nSeverity)
155{
156 switch (nSeverity)
157 {
158 case XN_LOG_VERBOSE:
159 return "VERBOSE";
160 case XN_LOG_INFO:
161 return "INFO";
162 case XN_LOG_WARNING:
163 return "WARNING";
164 case XN_LOG_ERROR:
165 return "ERROR";
166 case XN_LOG_SEVERITY_NONE:
167 return "NONE";
168 default:
169 return "UNKNOWN";
170 }
171}
172
173static void xnLogCreateEntryV(XnBufferedLogEntry* pEntry, const XnChar* csLogMask, XnLogSeverity nSeverity, const XnChar* csFile, XnUInt32 nLine, const XnChar* csFormat, va_list args)
174{

Callers 2

xnLogCreateEntryVFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected