## Logging

Logging — 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,
                                                             ...);

## Description

## Details

### gda_log_enable ()

    void                gda_log_enable                      (void);

Enables GDA logs.

### gda_log_disable ()

    void                gda_log_disable                     (void);

Disables GDA logs.

### gda_log_is_enabled ()

    gboolean            gda_log_is_enabled                  (void);

Returns : | whether GDA logs are enabled (`TRUE` or `FALSE`).

### gda_log_message ()

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

Logs the given message in the GDA log file.

`format` : | format string (see the printf(3) documentation).
`...` : | arguments to insert in the message.

### gda_log_error ()

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

Logs the given error in the GDA log file.

`format` : | format string (see the printf(3) documentation).
`...` : | arguments to insert in the error.