diff --git a/utils/chart.go b/utils/chart.go index 113533c..e7da099 100644 --- a/utils/chart.go +++ b/utils/chart.go @@ -7,6 +7,7 @@ import ( "github.com/pkg/errors" "github.com/wcharczuk/go-chart" "github.com/wcharczuk/go-chart/drawing" + "go.uber.org/zap" "github.com/lacazethomas/wakapi-stats/models" ) @@ -42,6 +43,8 @@ func CreateStatsDiagram(c []models.ColorSummaryItem) ([]byte, error) { } } + zap.S().Debug("chartItems", zap.Any("chartItems", chartItems)) + return createPieFromChartValues(chartItems) }