Skip to content

Commit

Permalink
add debug print
Browse files Browse the repository at this point in the history
  • Loading branch information
LacazeThomas committed Aug 20, 2021
1 parent bf3ebbc commit 8d3f41c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions utils/chart.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down Expand Up @@ -42,6 +43,8 @@ func CreateStatsDiagram(c []models.ColorSummaryItem) ([]byte, error) {
}
}

zap.S().Debug("chartItems", zap.Any("chartItems", chartItems))

return createPieFromChartValues(chartItems)
}

Expand Down

0 comments on commit 8d3f41c

Please sign in to comment.