mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Converts print statements to Logger
This commit is contained in:
@@ -145,7 +145,7 @@ public final class EnableExtensionViewModel: NSObject, ObservableObject, OAuthSw
|
||||
}
|
||||
|
||||
if case ASWebAuthenticationSessionError.canceledLogin = error {
|
||||
print("Login cancelled.")
|
||||
self.logger.debug("Login cancelled.")
|
||||
} else {
|
||||
self.showExtensionError = (error, true)
|
||||
}
|
||||
@@ -153,7 +153,7 @@ public final class EnableExtensionViewModel: NSObject, ObservableObject, OAuthSw
|
||||
|
||||
session.presentationContextProvider = self
|
||||
if !session.start() {
|
||||
print("Session failed to start!!!")
|
||||
logger.debug("Session failed to start!!!")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user