PureeLogSerializer

interface PureeLogSerializer

Serializes log objects into JSON format. An instance of this interface are set to com.cookpad.puree.kotlin.PureeLogger through com.cookpad.puree.kotlin.PureeLogger.Builder

Functions

serialize
Link copied to clipboard
abstract fun serialize(log: PureeLog): JSONObject
Serialize the log into JSON format.