Log

object Log

Functions

Link copied to clipboard
fun d(tag: String, message: String)
Link copied to clipboard
fun deleteLogFiles(context: Context, before: Date)
Link copied to clipboard
fun e(tag: String, message: String, throwable: Throwable? = null)
Link copied to clipboard
Link copied to clipboard
fun i(tag: String, message: String)
Link copied to clipboard
Link copied to clipboard
fun rotateLogFile(context: Context, fileName: String? = "log_")

Rotates file logs are written to. If fileName is set to null, delete writing to a file. Returns previous log file.

Link copied to clipboard
fun toLogEntries(context: Context, userId: String): List<LogEntry>?
Link copied to clipboard
fun w(tag: String, message: String, tr: Throwable? = null)