in wasm/internal/ottlplayground.go [62:69]
func takeObservedLogs(executor internal.Executor) string {
all := executor.ObservedLogs().TakeAll()
var s strings.Builder
for _, entry := range all {
s.WriteString(entry.ConsoleEncodedEntry())
}
return s.String()
}