installConsoleLogWriter

fun Log.installConsoleLogWriter(minLevelDebug: LogLevel = LogLevel.DEBUG, minLevelRelease: LogLevel = defaultReleaseLogLevel, time: Boolean = true)

Installs this writer for both debug and release builds.

By default:

Debug logs can still be enabled on release builds by standard GLib g_log mechanism. To prevent this, explicitly set minLevel in Log.installConsoleLogWriterForReleaseBuilds.