Skip to content

Commit

Permalink
enable repo tracing
Browse files Browse the repository at this point in the history
  • Loading branch information
heckj committed May 4, 2024
1 parent cbb8239 commit 2e05796
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion MeetingNotes/MeetingNotesApp.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@ struct MeetingNotesApp: App {

init() {
Task {

// Enable repo tracing
await repo.setLogLevel(.network, to: .tracing)
await repo.setLogLevel(.resolver, to: .tracing)
await repo.setLogLevel(.repo, to: .tracing)
// Enable network adapters
await repo.addNetworkAdapter(adapter: websocket)
await repo.addNetworkAdapter(adapter: peerToPeer)
}
Expand Down

0 comments on commit 2e05796

Please sign in to comment.