| 886 | } |
| 887 | |
| 888 | XN_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 | |
| 902 | XN_C_API void XN_C_DECL xnLoggerWriteNoEntry(XnLogger* pLogger, XnLogSeverity nSeverity, const XnChar* csFormat, ...) |
| 903 | { |
nothing calls this directly
no test coverage detected