Builder
fun Builder(lifecycle: Lifecycle, logSerializer: PureeLogSerializer, logStore: PureeLogStore)
Content copied to clipboard
Parameters
lifecycle
Registered PureeBufferedOutput's background processes are automatically suspended PureeLogger.suspend and resumed PureeLogger.resume based on the events and state of this Lifecycle.
logSerializer
The serializer to be used when serializing log objects to JSONObject.
logStore
The store that buffers logs.