Skip to content

Commit

Permalink
Minor code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
DerAndereAndi committed Sep 4, 2024
1 parent 936ad43 commit 8544b35
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions cmd/hems/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -222,19 +222,19 @@ func main() {
// Logging interface

func (h *hems) Trace(args ...interface{}) {
// h.print("TRACE", args...)
h.print("TRACE", args...)
}

func (h *hems) Tracef(format string, args ...interface{}) {
// h.printFormat("TRACE", format, args...)
h.printFormat("TRACE", format, args...)
}

func (h *hems) Debug(args ...interface{}) {
// h.print("DEBUG", args...)
h.print("DEBUG", args...)
}

func (h *hems) Debugf(format string, args ...interface{}) {
// h.printFormat("DEBUG", format, args...)
h.printFormat("DEBUG", format, args...)
}

func (h *hems) Info(args ...interface{}) {
Expand Down
2 changes: 1 addition & 1 deletion service/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func (s *Service) Setup() error {
s.localService.SetShipID(sd.Identifier())
s.localService.SetDeviceType(string(sd.DeviceType()))

logging.Log().Info("Local SKI: ", ski)
logging.Log().Info("Local SKI:", ski)

vendor := sd.VendorCode()
if vendor == "" {
Expand Down

0 comments on commit 8544b35

Please sign in to comment.