vector / com.haroldadmin.vector.loggers / Logger
Logger¶
interface Logger
Used to write debug logs.
Implementations of this interface can be used to provide different output sources for log statements, such as Android's built in Logging class, or STDOUT.
Types¶
Name | Summary |
---|---|
Level | enum class Level |
Properties¶
Name | Summary |
---|---|
tag | abstract val tag: String A name tag associated with this logger for identification and filtering |
Functions¶
Name | Summary |
---|---|
log | abstract fun log(message: String , level: Logger.Level = Level.DEBUG): Unit Logs the given message to the associated output |
Extension Functions¶
Name | Summary |
---|---|
logd | fun Logger .logd(messageProducer: () -> String ): Unit |
logv | fun Logger .logv(messageProducer: () -> String ): Unit |