MobileSyncLogger

A simple logger util class for the MobileSync library. This class simply acts as a wrapper around SalesforceLogger specific to the MobileSync library.

Functions

Link copied to clipboard
fun d(tag: String, message: String)
fun d(tag: String, msg: String, obj: Any)

Logs a debug log line.

Link copied to clipboard
fun e(tag: String, message: String)
fun e(tag: String, message: String, e: Throwable)

Logs an error log line.

Link copied to clipboard
fun i(tag: String, message: String)
fun i(tag: String, msg: String, obj: Any)

Logs an info log line.

Link copied to clipboard

Sets the log level to be used.

Link copied to clipboard
fun v(tag: String, message: String)
fun v(tag: String, msg: String, obj: Any)
fun v(tag: String, message: String, e: Throwable)

Logs a verbose log line.

Link copied to clipboard
fun w(tag: String, message: String)
fun w(tag: String, msg: String, obj: Any)

Logs a warning log line.