common / com.schibsted.account.common.util / Logger

Logger

object Logger

Types

Level

enum class Level

LogWorker

interface LogWorker

Properties

DEFAULT_LOG_WORKER

val DEFAULT_LOG_WORKER: Logger.LogWorker

loggingEnabled

var loggingEnabled: Boolean

logWorker

var logWorker: Logger.LogWorker

Functions

debug

fun debug(message: String?, throwable: Throwable? = null): Unit
fun debug(tag: String, message: String?, throwable: Throwable? = null): Unit

error

fun error(message: String?, throwable: Throwable? = null): Unit
fun error(tag: String, message: String?, throwable: Throwable? = null): Unit

info

fun info(message: String?, throwable: Throwable? = null): Unit
fun info(tag: String, message: String?, throwable: Throwable? = null): Unit

verbose

fun verbose(message: String?, throwable: Throwable? = null): Unit
fun verbose(tag: String, message: String?, throwable: Throwable? = null): Unit

warn

fun warn(tag: String, message: String?, throwable: Throwable? = null): Unit
fun warn(message: String?, throwable: Throwable? = null): Unit