Converts print statements to Logger

This commit is contained in:
Stuart Breckenridge
2022-12-21 21:06:23 +08:00
parent 7dc5845f4e
commit 4e0fe7c710
3 changed files with 6 additions and 5 deletions

View File

@@ -7,8 +7,9 @@
//
import UIKit
import RSCore
extension UIStoryboard {
extension UIStoryboard: Logging {
static let preferredContentSizeForFormSheetDisplay = CGSize(width: 460.0, height: 400.0)
@@ -44,7 +45,7 @@ extension UIStoryboard {
let storyboardId = String(describing: type)
guard let viewController = instantiateViewController(withIdentifier: storyboardId) as? T else {
print("Unable to load view with Scene Identifier: \(storyboardId)")
logger.error("Unable to load view with Scene Identifier: \(storyboardId)")
fatalError()
}