File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Sources/Pulse/NetworkLogger Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -118,12 +118,12 @@ public final class NetworkLogger: @unchecked Sendable {
118
118
self . processPatterns ( )
119
119
}
120
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
- // }
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
+ }
127
127
128
128
// MARK: Patterns
129
129
You can’t perform that action at this time.
0 commit comments