Logo Search packages:      
Sourcecode: libgphoto2 version File versions  Download package

void gp_log ( GPLogLevel  level,
const char *  domain,
const char *  format,
  ... 
)

Log a debug or error message.

Parameters:
level gphoto2 log level
domain the log domain
format a printf style format string
... the variable argumentlist for above format string
Logs a message at the given log level. You would normally use this function to log general debug output in a printf way.

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

References gp_logv().

Referenced by gp_abilities_list_lookup_model(), gp_camera_exit(), gp_camera_file_delete(), gp_camera_file_get(), gp_camera_file_get_info(), gp_camera_folder_delete_all(), gp_camera_folder_list_files(), gp_camera_folder_list_folders(), gp_camera_folder_put_file(), gp_camera_free(), gp_camera_init(), gp_camera_set_abilities(), gp_camera_set_port_speed(), gp_camera_unref(), gp_file_adjust_name_for_mime_type(), gp_file_append(), gp_file_copy(), gp_file_get_data_and_size(), gp_file_open(), gp_file_save(), gp_file_set_data_and_size(), gp_file_slurp(), gp_filesystem_append(), gp_filesystem_delete_all(), gp_filesystem_list_files(), gp_filesystem_list_folders(), gp_filesystem_remove_dir(), gp_filesystem_reset(), gp_list_append(), gp_list_set_name(), gp_list_set_value(), gp_log_data(), gp_port_check_int(), gp_port_check_int_fast(), gp_port_close(), gp_port_flush(), gp_port_free(), gp_port_get_pin(), gp_port_get_timeout(), gp_port_info_list_count(), gp_port_info_list_get_info(), gp_port_info_list_load(), gp_port_info_list_lookup_name(), gp_port_info_list_lookup_path(), gp_port_new(), gp_port_open(), gp_port_read(), gp_port_send_break(), gp_port_set_error(), gp_port_set_info(), gp_port_set_pin(), gp_port_set_settings(), gp_port_set_timeout(), gp_port_usb_clear_halt(), gp_port_usb_msg_class_read(), gp_port_usb_msg_class_write(), gp_port_usb_msg_interface_read(), gp_port_usb_msg_interface_write(), gp_port_usb_msg_read(), gp_port_usb_msg_write(), gp_port_write(), gp_setting_set(), and gp_widget_set_value().

{
      va_list args;

      va_start (args, format);
      gp_logv (level, domain, format, args);
      va_end (args);
}


Generated by  Doxygen 1.6.0   Back to index