in Confidence/src/main/java/com/spotify/confidence/DebugLogger.kt [45:56]
override fun logResolve(flag: String, context: JsonElement) {
buildJsonObject {
put("flag", "flags/$flag")
put("context", context)
put("clientKey", clientKey)
}.let { json ->
val base64 = Base64.encodeToString(json.toString().toByteArray(), Base64.DEFAULT)
debug(
"Check your flag evaluation for '$flag' by copy pasting the payload to the Resolve tester '$base64'"
)
}
}