Skip to content

Commit

Permalink
Restore the NetworkLogger’s convenience initializer that was commente…
Browse files Browse the repository at this point in the history
…d out in v5.0
  • Loading branch information
ejensen committed Sep 19, 2024
1 parent 29c1ad5 commit 2c0f2f3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Sources/Pulse/NetworkLogger/NetworkLogger.swift
Original file line number Diff line number Diff line change
Expand Up @@ -118,12 +118,12 @@ public final class NetworkLogger: @unchecked Sendable {
self.processPatterns()
}

// /// Initializes and configures the network logger.
// public convenience init(store: LoggerStore? = nil, _ configure: (inout Configuration) -> Void) {
// var configuration = Configuration()
// configure(&configuration)
// self.init(store: store, configuration: configuration)
// }
/// Initializes and configures the network logger.
public convenience init(store: LoggerStore? = nil, _ configure: (inout Configuration) -> Void) {
var configuration = Configuration()
configure(&configuration)
self.init(store: store, configuration: configuration)
}

// MARK: Patterns

Expand Down

0 comments on commit 2c0f2f3

Please sign in to comment.