Logo Search packages:      
Sourcecode: libgphoto2 version File versions

void gp_logv ( GPLogLevel  level,
const char *  domain,
const char *  format,
va_list  args 

Log a debug or error message with va_list.

level gphoto2 log level
domain the domain
format the format
args the va_list corresponding to format
Logs a message at the given log level. You would normally use this function to log as yet unformatted strings.

Definition at line 260 of file gphoto2-port-log.c.

References LogFunc::func.

Referenced by gp_context_message(), and gp_log().

      int i;
      va_list xargs;

      for (i = 0; i < log_funcs_count; i++) {
            if (log_funcs[i].level >= level) {
                  va_copy (xargs, args);
                  log_funcs[i].func (level, domain, format, xargs,
                  log_funcs[i].func (level, domain, format, args,

Generated by  Doxygen 1.6.0   Back to index