installOnReleaseApp
fun installOnReleaseApp(minPriority: LogPriority = if (isGLogDebugEnabled()) LogPriority.DEBUG else LogPriority.MESSAGE)
Installs this logger for release builds if the application is not debuggable.
Debug logs can still be enabled on release builds using the standard GLib g_log
mechanism:
export G_MESSAGES_DEBUG=all
Content copied to clipboard
Or restrict them to a specific domain:
export G_MESSAGES_DEBUG=my_app
Content copied to clipboard
To prevent this behavior, explicitly set minPriority.
Parameters
minPriority
The minimum log priority to log. Default is LogPriority.MESSAGE in release builds.