Skip to content

Commit

Permalink
Set logger
Browse files Browse the repository at this point in the history
Signed-off-by: Fredy Wijaya <[email protected]>
  • Loading branch information
fredyw committed Jul 18, 2024
1 parent a73a745 commit a2c8bd0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mobile/examples/swift/async_await/ContentView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ private struct ContentRow: Identifiable {
private extension EngineBuilder {
static let demoEngine = EngineBuilder()
.setLogLevel(.debug)
.setLogger { _, msg in
print(msg, terminator: "")
}
.build()
}

Expand Down

0 comments on commit a2c8bd0

Please sign in to comment.