Package-level declarations
Types
Link copied to clipboard
class ConsoleLogWriter(minLevel: LogLevel = LogLevel.DEBUG, formatter: LogFormatter = LogcatLogFormatter().withColor()) : LogWriter
A LogWriter that mimics the Android Logcat output style using println()
.
Link copied to clipboard
A LogWriter implementation that uses GLib's g_log
for logging.
Functions
Link copied to clipboard
fun Log.installConsoleLogWriter(minLevelDebug: LogLevel = LogLevel.DEBUG, minLevelRelease: LogLevel = defaultReleaseLogLevel, time: Boolean = true)
Installs this writer for both debug and release builds.
Link copied to clipboard
fun Log.installConsoleLogWriterForDebugBuilds(minLevel: LogLevel = LogLevel.DEBUG, time: Boolean = true)
Installs this writer for debug builds if the application is debuggable.
Link copied to clipboard
fun Log.installConsoleLogWriterForReleaseBuilds(minLevel: LogLevel = defaultReleaseLogLevel, time: Boolean = true)
Installs this writer for release builds if the application is not debuggable.
Link copied to clipboard
fun Log.installGLibLogWriter(minLevelDebug: LogLevel = LogLevel.DEBUG, minLevelRelease: LogLevel = defaultReleaseLogLevel)
Installs this writer for both debug and release builds.
Link copied to clipboard
Installs this writer for debug builds if the application is debuggable.
Link copied to clipboard
Installs this writer for release builds if the application is not debuggable.