-
Notifications
You must be signed in to change notification settings - Fork 125
Task.Logger should be accessible to the delegate #389
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
Comments
felixschlegel
added a commit
to felixschlegel/async-http-client
that referenced
this issue
May 24, 2022
…ckage Motivation: This change was proposed in issue [swift-server#389](swift-server#389). Users writing their own `HttpClientResponseDelegate` implementation might want to emit log messages to the `task`'s `logger`. Modifications: Changed the access level of `Task`'s `logger` property from `internal` to `public`. Result: Users can access the `logger` property of a `Task` outside of the `async-http-client`.
felixschlegel
added a commit
to felixschlegel/async-http-client
that referenced
this issue
May 24, 2022
…ckage Motivation: This change was proposed in issue [swift-server#389](swift-server#389). Users writing their own `HttpClientResponseDelegate` implementation might want to emit log messages to the `task`'s `logger`. Modifications: Changed the access level of `Task`'s `logger` property from `internal` to `public`. Result: Users can access the `logger` property of a `Task` outside of the `async-http-client`.
felixschlegel
added a commit
to felixschlegel/async-http-client
that referenced
this issue
May 24, 2022
…ckage Motivation: This change was proposed in issue [swift-server#389](swift-server#389). Users writing their own `HttpClientResponseDelegate` implementation might want to emit log messages to the `task`'s `logger`. Modifications: Changed the access level of `Task`'s `logger` property from `internal` to `public`. Result: Users can access the `logger` property of a `Task` outside of the `async-http-client`.
felixschlegel
added a commit
to felixschlegel/async-http-client
that referenced
this issue
Jan 22, 2023
…ckage Motivation: This change was proposed in issue [swift-server#389](swift-server#389). Users writing their own `HttpClientResponseDelegate` implementation might want to emit log messages to the `task`'s `logger`. Modifications: Changed the access level of `Task`'s `logger` property from `internal` to `public`. Result: Users can access the `logger` property of a `Task` outside of the `async-http-client`.
dnadoba
pushed a commit
that referenced
this issue
Jan 22, 2023
…ckage (#587) Motivation: This change was proposed in issue [#389](#389). Users writing their own `HttpClientResponseDelegate` implementation might want to emit log messages to the `task`'s `logger`. Modifications: Changed the access level of `Task`'s `logger` property from `internal` to `public`. Result: Users can access the `logger` property of a `Task` outside of the `async-http-client`.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
The delegate should be able to log through
task.logger
which is even available butinternal
and notpublic
.The text was updated successfully, but these errors were encountered: