install
Installs this logger for both debug and release builds.
By default:
For debug builds, the minimum priority level is set to LogPriority.DEBUG.
For release builds, the minimum priority level is set to LogPriority.MESSAGE.
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
To prevent this behavior in release builds, explicitly set minPriority when calling installOnReleaseApp.
Parameters
time
Whether to include timestamps in the log output. Default is true
.
color
Whether to include ANSI color codes in the log output. Default is true
.