send

inline fun <T : PureeLog> PureeLogger.send(log: T)

Extension function to send a log to the PureeLogger.

This Android-specific extension function provides a convenient way to send logs using Kotlin's reified type parameters, which simplifies the API by eliminating the need to explicitly pass the class information.

Parameters

T

The type of log being sent, must extend PureeLog

log

The log instance to be processed

fun <Error class: unknown class>.send(log: <Error class: unknown class>, clazz: ObjCClass)

Extension function to send a log to the PureeLogger.

This iOS-specific extension function provides a way to send logs using Objective-C class references, which is the standard way to work with class types in iOS.

Parameters

log

The log instance to be processed

clazz

The Objective-C class representing the type of the log