NativeLoggerProvider
A singleton class that manages the logging mechanism for Nativeblocks. NativeLoggerProvider allows the registration and retrieval of custom loggers implementing the INativeLogger protocol.
INativeLogger
Defines the contract for logging events within the native framework.
interface INativeLogger
Methods
log
Logs an event with a name and associated parameters.
fun log(eventName: String, parameters: Map<String, String>)
Parameters
- eventName: The name of the event to log.
- parameters: A map of key-value pairs representing event-specific parameters.