summaryrefslogtreecommitdiffhomepage
path: root/device/peer.go
diff options
context:
space:
mode:
Diffstat (limited to 'device/peer.go')
-rw-r--r--device/peer.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/device/peer.go b/device/peer.go
index 96040e6..46edaeb 100644
--- a/device/peer.go
+++ b/device/peer.go
@@ -190,7 +190,7 @@ func (peer *Peer) Start() {
}
device := peer.device
- device.log.Debug.Println(peer, "- Starting...")
+ device.debugf("%v - Starting...", peer)
// reset routine state
@@ -278,7 +278,7 @@ func (peer *Peer) Stop() {
peer.routines.Lock()
defer peer.routines.Unlock()
- peer.device.log.Debug.Println(peer, "- Stopping...")
+ peer.device.debugf("%v - Stopping...", peer)
peer.timersStop()