logger.go

Summary

Maintainability
A
1 hr
Test Coverage

Avoid deeply nested control flow statements.
Open

                    } else if b, ok := value.([]byte); ok {
                        if str := string(b); isPrintable(str) {
                            formattedValues = append(formattedValues, fmt.Sprintf("'%v'", str))
                        } else {
                            formattedValues = append(formattedValues, "'<binary>'")
Severity: Major
Found in logger.go - About 45 mins to fix

    Avoid deeply nested control flow statements.
    Open

                            if t.IsZero() {
                                formattedValues = append(formattedValues, fmt.Sprintf("'%v'", "0000-00-00 00:00:00"))
                            } else {
                                formattedValues = append(formattedValues, fmt.Sprintf("'%v'", t.Format("2006-01-02 15:04:05")))
                            }
    Severity: Major
    Found in logger.go - About 45 mins to fix

      There are no issues that match your filters.

      Category
      Status