mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-10 04:36:43 +00:00
feat(GODT-3199): add package log field.
This commit is contained in:
@ -294,7 +294,7 @@ func newImpl(
|
||||
|
||||
// Log all requests made by the user.
|
||||
user.client.AddPostRequestHook(func(_ *resty.Client, r *resty.Response) error {
|
||||
user.log.Infof("%v: %v %v", r.Status(), r.Request.Method, r.Request.URL)
|
||||
user.log.WithField("pkg", "gpa/client").Infof("%v: %v %v", r.Status(), r.Request.Method, r.Request.URL)
|
||||
return nil
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user