# gda-log

## Name

gda-log -- Log functions

## Synopsis

    void        gda_log_enable                  (void);
    void        gda_log_disable                 (void);
    gboolean    gda_log_is_enabled              (void);
    void        gda_log_message                 (const gchar *format,
                                                 ...);
    void        gda_log_error                   (const gchar *format,
                                                 ...);
    void        gda_log_clean_all               (const gchar *prgname);
    void        gda_log_clean_between           (const gchar *prgname,
                                                 time_t from,
                                                 time_t to);
    void        gda_log_clean_entry             (const gchar *prgname,
                                                 const gchar *entry);

## Description

## Details

### gda_log_enable ()

    void        gda_log_enable                  (void);

Enables GDA logs

### gda_log_disable ()

    void        gda_log_disable                 (void);

### gda_log_is_enabled ()

    gboolean    gda_log_is_enabled              (void);

Returns : |

### gda_log_message ()

    void        gda_log_message                 (const gchar *format,
                                                 ...);

Logs the given message in the GDA log file

`format` : | message string
`...` : |

### gda_log_error ()

    void        gda_log_error                   (const gchar *format,
                                                 ...);

`format` : |
`...` : |

### gda_log_clean_all ()

    void        gda_log_clean_all               (const gchar *prgname);

Clear the entire log for the given program

`prgname` : | program name

### gda_log_clean_between ()

    void        gda_log_clean_between           (const gchar *prgname,
                                                 time_t from,
                                                 time_t to);

`prgname` : |
`from` : |
`to` : |

### gda_log_clean_entry ()

    void        gda_log_clean_entry             (const gchar *prgname,
                                                 const gchar *entry);

`prgname` : |
`entry` : |