Skip to content

Commit

Permalink
Support custom backgroundActivityLogger with using the default ELG. (
Browse files Browse the repository at this point in the history
  • Loading branch information
dnadoba authored Sep 6, 2023
1 parent 75d7f63 commit 4e74fef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/AsyncHTTPClient/HTTPClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ public class HTTPClient {
/// - eventLoopGroup: The `EventLoopGroup` that the ``HTTPClient`` will use.
/// - configuration: Client configuration.
/// - backgroundActivityLogger: The `Logger` that will be used to log background any activity that's not associated with a request.
public required init(eventLoopGroup: any EventLoopGroup,
public required init(eventLoopGroup: any EventLoopGroup = HTTPClient.defaultEventLoopGroup,
configuration: Configuration = Configuration(),
backgroundActivityLogger: Logger) {
self.eventLoopGroup = eventLoopGroup
Expand Down

0 comments on commit 4e74fef

Please sign in to comment.