Skip to content

Commit

Permalink
update logging level
Browse files Browse the repository at this point in the history
  • Loading branch information
llbartekll committed Aug 24, 2022
1 parent 1f7784f commit 344041c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/WalletConnectRelay/RelayClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public final class RelayClient {
keychainStorage: KeychainStorageProtocol = KeychainStorage(serviceIdentifier: "com.walletconnect.sdk"),
socketFactory: WebSocketFactory,
socketConnectionType: SocketConnectionType = .automatic,
logger: ConsoleLogging = ConsoleLogger(loggingLevel: .debug)
logger: ConsoleLogging = ConsoleLogger(loggingLevel: .off)
) {
let socketAuthenticator = SocketAuthenticator(
clientIdStorage: ClientIdStorage(keychain: keychainStorage),
Expand Down
2 changes: 1 addition & 1 deletion Sources/WalletConnectSign/Sign/SignClientFactory.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public struct SignClientFactory {
///
/// WalletConnect Client is not a singleton but once you create an instance, you should not deinitialize it. Usually only one instance of a client is required in the application.
public static func create(metadata: AppMetadata, relayClient: RelayClient) -> SignClient {
let logger = ConsoleLogger(loggingLevel: .debug)
let logger = ConsoleLogger(loggingLevel: .off)
let keyValueStorage = UserDefaults.standard
let keychainStorage = KeychainStorage(serviceIdentifier: "com.walletconnect.sdk")
return SignClientFactory.create(metadata: metadata, logger: logger, keyValueStorage: keyValueStorage, keychainStorage: keychainStorage, relayClient: relayClient)
Expand Down

0 comments on commit 344041c

Please sign in to comment.