Log SDK Events
Last updated
The Ignite Services SDK can log information on the client side. Each log entry on the client side is also captured locally on the device and in Ignite.
fun log(
priority: Int,
message: String?
)priority
Required
String
Event type you are logging. Use the following options:
0 or DEBUG
1 or INFO
2 or ERROR
message
Required
String
The string you want to capture in the log.
// ...
api?.install(data, object: IIgniteServiceCallback.Stub() {
override fun onStart(data: String?) {
api?.log(Priority.INFO, "Installation started for $data")
// other code
}
// ...
}
// ...
Last updated

