ide-log: gnome-builder Reference Manual

## ide-log ide-log |

## Functions

void | ide_log_init ()
void | ide_log_increase_verbosity ()
void | ide_log_shutdown ()

## Description

## Functions

### ide_log_init ()

    void
    ide_log_init (gboolean stdout_,
                  const gchar *filename);

Initializes the logging subsystem.

#### Parameters

stdout_ | Indicates logging should be written to stdout. |
filename | An optional file in which to store logs. |

### ide_log_increase_verbosity ()

    void
    ide_log_increase_verbosity (void);

Increases the amount of logging that will occur. By default, only warning and above will be displayed.

Calling this once will cause G_LOG_LEVEL_MESSAGE to be displayed. Calling this twice will cause G_LOG_LEVEL_INFO to be displayed. Calling this thrice will cause G_LOG_LEVEL_DEBUG to be displayed. Calling this four times will cause G_LOG_LEVEL_TRACE to be displayed.

Note that many DEBUG and TRACE level log messages are only compiled into debug builds, and therefore will not be available in release builds.

This method is meant to be called for every -v provided on the command line.

Calling this method more than four times is acceptable.

### ide_log_shutdown ()

    void
    ide_log_shutdown (void);

Cleans up after the logging subsystem.

## Types and Values