diff options
author | inhies <inhies@github.com> | 2016-12-10 18:03:03 -0700 |
---|---|---|
committer | inhies <inhies@github.com> | 2016-12-10 18:03:03 -0700 |
commit | eb7c1cf6dc20ad3f9f267b44c3bfc3bd7f1a77ad (patch) | |
tree | 421222253f477a20dc51d2a3f21c1dcd906cf2a8 /light.go | |
parent | 23e6757464bf225f806b2ba586597af6d83c9609 (diff) |
Remove logging output
Diffstat (limited to 'light.go')
-rw-r--r-- | light.go | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -11,7 +11,6 @@ package hue import ( "errors" "fmt" - "log" "time" ) @@ -184,7 +183,6 @@ func (light *Light) Dim(percent int) error { newBri := uint8(originalBri - uint8(decreaseBri)) if newBri < 0 { newBri = 0 - log.Printf("Light.Dim state set under 0%%, setting brightness to 0. ") } lightState := LightState{On: true, Bri: newBri} err := light.SetState(lightState) @@ -221,7 +219,6 @@ func (light *Light) Brighten(percent int) error { newBri := uint8(originalBri + uint8(increaseBri)) if newBri > 254 { // LightState.Bri must be between 1 and 254 inclusive newBri = 254 - log.Printf("Light.Brighten state set over 100%%, setting brightness to 100%%. ") } lightState := LightState{On: true, Bri: newBri} err := light.SetState(lightState) |