File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
test/platform/swift/unit_integration/core Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ protocol LoggerBridgingFactoryProvider {
2323 /// - parameter model: The host device model.
2424 /// - parameter network: The interface to use for network operations.
2525 /// - parameter errorReporting: The interface to use for reporting errors.
26- /// - parameter sleepMode: .active if sleep mode should be initialized now
26+ /// - parameter sleepMode: .enabled if sleep mode should be initialized now
2727 ///
2828 /// - returns: The logger bridging instance.
2929 func makeLogger(
Original file line number Diff line number Diff line change @@ -179,7 +179,7 @@ public final class LoggerObjc: NSObject {
179179 /// Bitdrift.
180180 /// Defaults to Bitdrift's hosted Compose API base URL.
181181 /// - parameter enableURLSessionIntegration: A flag indicating if automatic URLSession capture is enabled.
182- /// - parameter sleepMode: .active if Capture should be initialized in minimal activity mode.
182+ /// - parameter sleepMode: .enabled if Capture should be initialized in minimal activity mode.
183183 /// - parameter enableFatalIssueReporting: true if Capture should enable Fatal Issue Reporting.
184184 @objc
185185 public static func start(
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ public struct Configuration {
1212 /// The session replay configuration. Pass `nil` to disable session replay.
1313 public var sessionReplayConfiguration : SessionReplayConfiguration ?
1414
15- /// .active if Capture should initialize in minimal activity mode
15+ /// .enabled if Capture should initialize in minimal activity mode
1616 public var sleepMode : SleepMode
1717
1818 /// true if Capture should enable Fatal Issue Reporting
@@ -21,7 +21,7 @@ public struct Configuration {
2121 /// Initializes a new instance of the Capture configuration.
2222 ///
2323 /// - parameter sessionReplayConfiguration: The session replay configuration to use. Passing `nil` disables the feature.
24- /// - parameter sleepMode: .active if Capture should initialize in minimal activity mode
24+ /// - parameter sleepMode: .enabled if Capture should initialize in minimal activity mode
2525 /// - parameter enableFatalIssueReporting: true if Capture should enable Fatal Issue Reporting
2626 public init (
2727 sessionReplayConfiguration: SessionReplayConfiguration ? = . init( ) ,
Original file line number Diff line number Diff line change @@ -142,8 +142,8 @@ final class LoggerTests: XCTestCase {
142142 withAPIKey: " some_key " ,
143143 loggerBridgingFactoryProvider: MockLoggerBridgingFactory ( logger: bridge)
144144 )
145- logger. setSleepMode ( . active )
146- XCTAssertEqual ( bridge. sleepMode, . active )
145+ logger. setSleepMode ( . enabled )
146+ XCTAssertEqual ( bridge. sleepMode, . enabled )
147147 }
148148
149149 func testErrorLogging( ) throws {
You can’t perform that action at this time.
0 commit comments