Skip to content

Commit

Permalink
fix: logs again
Browse files Browse the repository at this point in the history
  • Loading branch information
doniacld committed Jul 27, 2022
1 parent c155b13 commit 1270626
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/prommetric/metric.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ func (m PromMeasure) SetTempAndHum() {
TempGauge.Set(m.Temperature)
HumGauge.Set(m.Humidity)

log.Println("Set gauges: Temperature: %v°C, Humidity: %v%%", m.Temperature, m.Humidity)
log.Printf("Set gauges: Temperature: %v°C, Humidity: %v%%\n", m.Temperature, m.Humidity)
}

0 comments on commit 1270626

Please sign in to comment.