## eog-debug

eog-debug

## Synopsis

    enum                EogDebugSection;
    #define             DEBUG_WINDOW
    #define             DEBUG_VIEW
    #define             DEBUG_JOBS
    #define             DEBUG_THUMBNAIL
    #define             DEBUG_IMAGE_DATA
    #define             DEBUG_IMAGE_LOAD
    #define             DEBUG_IMAGE_SAVE
    #define             DEBUG_LIST_STORE
    #define             DEBUG_PREFERENCES
    #define             DEBUG_PRINTING
    #define             DEBUG_LCMS
    #define             DEBUG_PLUGINS
    void                eog_debug_init                      (void);
    void                eog_debug                           (EogDebugSection section,
                                                             const gchar *file,
                                                             gint line,
                                                             const gchar *function);
    void                eog_debug_message                   (EogDebugSection section,
                                                             const gchar *file,
                                                             gint line,
                                                             const gchar *function,
                                                             const gchar *format,
                                                             ...);

## Description

## Details

### enum EogDebugSection

    typedef enum {
    	EOG_NO_DEBUG           = 0,
    	EOG_DEBUG_WINDOW       = 1 << 0,
    	EOG_DEBUG_VIEW         = 1 << 1,
    	EOG_DEBUG_JOBS         = 1 << 2,
    	EOG_DEBUG_THUMBNAIL    = 1 << 3,
    	EOG_DEBUG_IMAGE_DATA   = 1 << 4,
    	EOG_DEBUG_IMAGE_LOAD   = 1 << 5,
    	EOG_DEBUG_IMAGE_SAVE   = 1 << 6,
    	EOG_DEBUG_LIST_STORE   = 1 << 7,
    	EOG_DEBUG_PREFERENCES  = 1 << 8,
    	EOG_DEBUG_PRINTING     = 1 << 9,
    	EOG_DEBUG_LCMS         = 1 << 10,
    	EOG_DEBUG_PLUGINS      = 1 << 11
    } EogDebugSection;

### DEBUG_WINDOW

    #define	DEBUG_WINDOW		EOG_DEBUG_WINDOW,      __FILE__, __LINE__, G_STRFUNC

### DEBUG_VIEW

    #define	DEBUG_VIEW		EOG_DEBUG_VIEW,        __FILE__, __LINE__, G_STRFUNC

### DEBUG_JOBS

    #define	DEBUG_JOBS		EOG_DEBUG_JOBS,        __FILE__, __LINE__, G_STRFUNC

### DEBUG_THUMBNAIL

    #define	DEBUG_THUMBNAIL		EOG_DEBUG_THUMBNAIL,   __FILE__, __LINE__, G_STRFUNC

### DEBUG_IMAGE_DATA

    #define	DEBUG_IMAGE_DATA	EOG_DEBUG_IMAGE_DATA,  __FILE__, __LINE__, G_STRFUNC

### DEBUG_IMAGE_LOAD

    #define	DEBUG_IMAGE_LOAD	EOG_DEBUG_IMAGE_LOAD,  __FILE__, __LINE__, G_STRFUNC

### DEBUG_IMAGE_SAVE

    #define	DEBUG_IMAGE_SAVE	EOG_DEBUG_IMAGE_SAVE,  __FILE__, __LINE__, G_STRFUNC

### DEBUG_LIST_STORE

    #define	DEBUG_LIST_STORE	EOG_DEBUG_LIST_STORE,  __FILE__, __LINE__, G_STRFUNC

### DEBUG_PREFERENCES

    #define	DEBUG_PREFERENCES	EOG_DEBUG_PREFERENCES, __FILE__, __LINE__, G_STRFUNC

### DEBUG_PRINTING

    #define	DEBUG_PRINTING		EOG_DEBUG_PRINTING,    __FILE__, __LINE__, G_STRFUNC

### DEBUG_LCMS

    #define	DEBUG_LCMS 		EOG_DEBUG_LCMS,        __FILE__, __LINE__, G_STRFUNC

### DEBUG_PLUGINS

    #define	DEBUG_PLUGINS 		EOG_DEBUG_PLUGINS,     __FILE__, __LINE__, G_STRFUNC

### eog_debug_init ()

    void                eog_debug_init                      (void);

### eog_debug ()

    void                eog_debug                           (EogDebugSection section,
                                                             const gchar *file,
                                                             gint line,
                                                             const gchar *function);

`section` : |
`file` : |
`line` : |
`function` : |

### eog_debug_message ()

    void                eog_debug_message                   (EogDebugSection section,
                                                             const gchar *file,
                                                             gint line,
                                                             const gchar *function,
                                                             const gchar *format,
                                                             ...);

`section` : |
`file` : |
`line` : |
`function` : |
`format` : |
`...` : |