mirror of
https://github.com/unpoller/unpoller.git
synced 2026-10-18 22:40:03 +02:00
fix log output
This commit is contained in:
+1
-1
@@ -156,7 +156,7 @@ func (u *Unifi) GetData(apiPath string, v interface{}, params ...string) error {
|
||||
}
|
||||
|
||||
u.DebugLog("Requested %s: elapsed %v, returned %d bytes",
|
||||
apiPath, time.Since(start).Round(time.Millisecond), len(body))
|
||||
u.path(apiPath), time.Since(start).Round(time.Millisecond), len(body))
|
||||
|
||||
return json.Unmarshal(body, v)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user