mirror of
https://github.com/InsanusMokrassar/KSLog.git
synced 2025-09-15 04:59:37 +00:00
update of gradle wrapper and publishing scripts
This commit is contained in:
@@ -1 +1 @@
|
||||
<manifest package="dev.inmo.kslog"/>
|
||||
<manifest/>
|
||||
|
@@ -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