// AWS CloudWatch Logs prints only JSONs nicely
AWS CloudWatch Logs prints only JSONs nicely
// AWS CloudWatch Logs prints only JSONs nicely
func printJSON(text string, data interface{}) {
	if b, err := json.Marshal(data); err == nil {
		fmt.Println(text, string(b))
	}
}
func printJSON ( text string , data interface { } ) { if b , err := json . Marshal ( data ) ; err == nil { fmt . Println ( text , string ( b ) ) } }
AWS CloudWatch Logs prints only JSONs nicely
AWS CloudWatch Logs prints only JSONs nicely