We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2380f56 + 2c0f2f3 commit 1749e31Copy full SHA for 1749e31
Sources/Pulse/NetworkLogger/NetworkLogger.swift
@@ -118,12 +118,12 @@ public final class NetworkLogger: @unchecked Sendable {
118
self.processPatterns()
119
}
120
121
-// /// Initializes and configures the network logger.
122
-// public convenience init(store: LoggerStore? = nil, _ configure: (inout Configuration) -> Void) {
123
-// var configuration = Configuration()
124
-// configure(&configuration)
125
-// self.init(store: store, configuration: configuration)
126
-// }
+ /// 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)
+ }
127
128
// MARK: Patterns
129
0 commit comments