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

Function xnLogCreateEntryV

Source/OpenNI/XnLog.cpp:173–186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171}
172
173static void xnLogCreateEntryV(XnBufferedLogEntry* pEntry, const XnChar* csLogMask, XnLogSeverity nSeverity, const XnChar* csFile, XnUInt32 nLine, const XnChar* csFormat, va_list args)
174{
175 // format message
176 XnUInt32 nChars;
177 xnOSStrFormatV(pEntry->Buffer(), pEntry->MaxBufferSize(), &nChars, csFormat, args);
178
179 // create log entry
180 xnOSGetHighResTimeStamp(&pEntry->nTimestamp);
181 pEntry->nSeverity = nSeverity;
182 pEntry->strSeverity = xnLogGetSeverityString(nSeverity);
183 pEntry->strMask = csLogMask;
184 pEntry->strFile = csFile;
185 pEntry->nLine = nLine;
186}
187
188static void xnLogCreateEntry(XnBufferedLogEntry* pEntry, const XnChar* csLogMask, XnLogSeverity nSeverity, const XnChar* csFile, XnUInt32 nLine, const XnChar* csFormat, ...)
189{

Callers 2

xnLogCreateEntryFunction · 0.85
xnLogWriteImplVFunction · 0.85

Calls 5

xnLogGetSeverityStringFunction · 0.85
BufferMethod · 0.80
MaxBufferSizeMethod · 0.80
xnOSStrFormatVFunction · 0.50
xnOSGetHighResTimeStampFunction · 0.50

Tested by

no test coverage detected