mirror of
https://github.com/InsanusMokrassar/KSLog.git
synced 2026-11-03 01:53:54 +00:00
update of gradle wrapper and publishing scripts
This commit is contained in:
1 parent
7fbf80a52a
commit
8613f350e3
10 files changed
+1938
-10
No files matched your search
@@ -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