Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
interface Disposable
Link copied to clipboard
Link copied to clipboard
open class ForeignBytes
Link copied to clipboard
Link copied to clipboard
enum Level : Enum<Level>
Link copied to clipboard
object NoPointer

Used to instantiate an interface without an actual pointer, for fakes in tests, mostly.

Link copied to clipboard
data class Record(var level: Level, var target: String, var message: String)
Link copied to clipboard
open class RustBuffer
Link copied to clipboard

The equivalent of the *mut RustBuffer type. Required for callbacks taking in an out pointer.

Functions

Link copied to clipboard

Set the logger to forward to.

Link copied to clipboard
fun setMaxLevel(level: Level)

Set the maximum log level filter. Records below this level will not be sent to the logger.

Link copied to clipboard
inline fun <T : Disposable?, R> T.use(block: (T) -> R): R