API reference
API reference
Select your platform
No SDKs available
No versions available

TraceUtils

TraceUtils

object TraceUtils

Properties

NameSummary
cookie
var cookie: Int
forceEnabled
var forceEnabled: Boolean

Functions

NameSummary
beginAsyncSection
fun beginAsyncSection(sectionName: String): Int
beginSection
fun beginSection(sectionName: String)
endAsyncSection
fun endAsyncSection(sectionName: String, id: Int)
endSection
fun endSection()
trace
inline fun trace(sectionName: String, block: () -> Unit)
Helper method for using the trace API to trace a code block. Don’t have to remember to call end section and don’t have to worry about escaping in the middle of the code
traceAsync
inline fun traceAsync(sectionName: String, block: () -> Unit)
Did you find this page helpful?
Thumbs up icon
Thumbs down icon