Log

interface Log(source)

A plugin's log. Obtain it from log.

Lines go to an in-memory ring buffer, which the runtime mirrors to /tmp/mibsdk.log on the unit. Keep messages short: the buffer and the unit's disk are small. Never log the VIN, IMSI, location or other personal data.

Since

api 1

Functions

Link copied to clipboard
abstract fun error(m: String, t: Throwable)
Records an error with its exception.
Link copied to clipboard
abstract fun info(m: String)
Records an informational line.
Link copied to clipboard
abstract fun warn(m: String)
Records a warning.