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 {
118118 self . processPatterns ( )
119119 }
120120
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+ }
127127
128128 // MARK: Patterns
129129
You can’t perform that action at this time.
0 commit comments