Skip to content
Snippets Groups Projects
Commit 1fc86078 authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Added default for logging handlers

parent e603b010
No related branches found
No related tags found
No related merge requests found
package de.kuschku.libquassel.util.compatibility package de.kuschku.libquassel.util.compatibility
import de.kuschku.libquassel.util.compatibility.reference.JavaLoggingHandler
abstract class LoggingHandler { abstract class LoggingHandler {
abstract fun log(logLevel: LogLevel, tag: String, message: String? = null, abstract fun log(logLevel: LogLevel, tag: String, message: String? = null,
throwable: Throwable? = null) throwable: Throwable? = null)
...@@ -29,7 +31,7 @@ abstract class LoggingHandler { ...@@ -29,7 +31,7 @@ abstract class LoggingHandler {
} }
companion object { companion object {
val loggingHandlers: MutableSet<LoggingHandler> = mutableSetOf() val loggingHandlers: MutableSet<LoggingHandler> = mutableSetOf(JavaLoggingHandler)
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment