PengZheng opened a new issue, #490:
URL: https://github.com/apache/celix/issues/490

   ```C
   void celix_logHelper_vlogDetails(celix_log_helper_t* logHelper, 
celix_log_level_e level, const char* file, const char* function, int line, 
const char *format, va_list formatArgs) {
       if (level == CELIX_LOG_LEVEL_DISABLED) {
           //silently ignore
           return;
       }
       if (level >= logHelper->activeLogLevel) {
           celixThreadMutex_lock(&logHelper->mutex);
           celix_log_service_t* ls = logHelper->logService;
           if (ls != NULL) {
               ls->vlog(ls->handle, level, format, formatArgs);
           } else {
               //falling back on stdout/stderr
               celix_logUtils_vLogToStdout(logHelper->logServiceName, level, 
format, formatArgs);
           }
           logHelper->logCount += 1;
           celixThreadMutex_unlock(&logHelper->mutex);
       }
   }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@celix.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to