Companion

object Companion

Properties

Link copied to clipboard
@get:VisibleForTesting
val LOGGER: SpeziLogger

The logger instance with default configuration.

Functions

Link copied to clipboard
inline fun e(throwable: Throwable? = null, crossinline message: () -> String)

Logs an error message with tag edu.stanford.spezi.logger using LoggingStrategy.TIMBER.

Link copied to clipboard
inline fun i(throwable: Throwable? = null, crossinline message: () -> String)

Logs an informational message with tag edu.stanford.spezi.logger using LoggingStrategy.TIMBER.

Link copied to clipboard

Global configuration setting whether logging is enabled. If enabled, for all logger instances using LoggingStrategy.TIMBER it will plant Timber.DebugTree()

Link copied to clipboard

Sets the next tag for logging.

Link copied to clipboard
inline fun w(throwable: Throwable? = null, crossinline message: () -> String)

Logs a warning message with tag edu.stanford.spezi.logger using LoggingStrategy.TIMBER.