chore: rename logging
This commit is contained in:
parent
2f4f06fe88
commit
7fb0c13128
1 changed files with 2 additions and 2 deletions
|
|
@ -13,11 +13,11 @@ func (lp *Loadpoint) chargeMeterTotal() float64 {
|
|||
|
||||
f, err := m.TotalEnergy()
|
||||
if err != nil {
|
||||
lp.log.ERROR.Printf("charge meter total import: %v", err)
|
||||
lp.log.ERROR.Printf("charge total import: %v", err)
|
||||
return 0
|
||||
}
|
||||
|
||||
lp.log.DEBUG.Printf("charge meter total import: %.3fkWh", f)
|
||||
lp.log.DEBUG.Printf("charge total import: %.3fkWh", f)
|
||||
|
||||
return f
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue