mirror of
https://github.com/InsanusMokrassar/KSLog.git
synced 2025-10-29 18:40:05 +00:00
update of gradle wrapper and publishing scripts
This commit is contained in:
@@ -32,6 +32,10 @@ interface KSLog {
|
||||
|
||||
companion object : KSLog {
|
||||
private var defaultLogger: KSLog? = null
|
||||
|
||||
/**
|
||||
* Default logger used in case you are trying to use [KSLog] as a receiver for extensions like [info]
|
||||
*/
|
||||
var default: KSLog
|
||||
get() {
|
||||
return defaultLogger ?: KSLog("app").also {
|
||||
|
||||
Reference in New Issue
Block a user