Skip to content

Commit

Permalink
Document isAutomaticConnectionEnabled
Browse files Browse the repository at this point in the history
  • Loading branch information
kean committed Sep 5, 2024
1 parent 960830e commit f1d6351
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Sources/Pulse/Pulse.docc/Articles/GettingStarted.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,15 @@ Add the following to your app's plist file:

### 4.2. Enable Remote Logging

Open the Pulse console from the app, go to Settings, enable "Remote Logging", and select a device running Pulse Pro to connect to.
- **Option 1 (Recommended)** Enable automatic connection to Pulse apps using ``RemoteLogger/isAutomaticConnectionEnabled``:

```swift
#if DEBUG
RemoteLogger.shared.isAutomaticConnectionEnabled = true
#endif
```

- **Option 2 (Manual)**. Open the Pulse console from the app, go to "Settings", enable "Remote Logging", and select your Mac.

![Enabling remote logging](remote-logging.png)

Expand Down

0 comments on commit f1d6351

Please sign in to comment.