shared/logger/format.go
func Pretty(input interface{}) string {
	pretty, err := json.MarshalIndent(input, "\t", "\t")
	if err != nil {
		return fmt.Sprintf("%v", input)
	}

	return fmt.Sprintf("\n\t%s", pretty)
}
func Pretty(input interface{}) string {
	pretty, err := json.MarshalIndent(input, "\t", "\t")
	if err != nil {
		return fmt.Sprintf("%v", input)
	}

	return fmt.Sprintf("\n\t%s", pretty)
}
func Pretty ( input interface { } ) string { pretty , err := json . MarshalIndent ( input , " \t " , " \t " ) if err != nil { return fmt . Sprintf ( " " , input ) } return fmt . Sprintf ( " \n \t " , pretty ) }
// Pretty will attempt to convert any Go structure into a string suitable for logging
Pretty will attempt to convert any Go structure into a string suitable for logging