install

fun install()

Installs this logger for both debug and release builds.

By default:

Debug logs can still be enabled on release builds using the standard GLib g_log mechanism:

export G_MESSAGES_DEBUG=all

Or restrict them to a specific domain:

export G_MESSAGES_DEBUG=my_app

To prevent this behavior in release builds, explicitly set minPriority when calling installOnReleaseApp.