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

Function xnLoggerWrite

Source/OpenNI/XnLog.cpp:888–900  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

886}
887
888XN_C_API void XN_C_DECL xnLoggerWrite(XnLogger* pLogger, XnLogSeverity nSeverity, const XnChar* csFile, XnUInt32 nLine, const XnChar* csFormat, ...)
889{
890 if (!xnLoggerIsEnabled(pLogger, nSeverity))
891 return;
892
893 const XnChar* strMask = (const XnChar*)pLogger->pInternal;
894
895 // write message
896 va_list args;
897 va_start(args, csFormat);
898 xnLogWriteImplV(strMask, nSeverity, csFile, nLine, csFormat, args);
899 va_end(args);
900}
901
902XN_C_API void XN_C_DECL xnLoggerWriteNoEntry(XnLogger* pLogger, XnLogSeverity nSeverity, const XnChar* csFormat, ...)
903{

Callers

nothing calls this directly

Calls 2

xnLoggerIsEnabledFunction · 0.85
xnLogWriteImplVFunction · 0.85

Tested by

no test coverage detected