IOS-1442 logging
authorDirk Zimmermann <dz@pep.security>
Thu, 17 Jan 2019 08:33:29 +0100
changeset 753344eac055cd12
parent 7532 cc03af4dc66d
child 7534 cdd48f08b1a9
IOS-1442 logging
pEpForiOS/UI/EmailDisplay/EmailViewController.swift
pEpForiOS/UI/EmailDisplay/Stuff that is named Compose but is used only in EmailView/ComposeDataSource.swift
     1.1 --- a/pEpForiOS/UI/EmailDisplay/EmailViewController.swift	Tue Jan 15 17:25:46 2019 +0100
     1.2 +++ b/pEpForiOS/UI/EmailDisplay/EmailViewController.swift	Thu Jan 17 08:33:29 2019 +0100
     1.3 @@ -328,6 +328,7 @@
     1.4              message = m
     1.5          }
     1.6  
     1.7 +        Logger.frontendLogger.log("next, will reload table view")
     1.8          configureTableRows()
     1.9          tableView.reloadData()
    1.10          configureView()
    1.11 @@ -339,6 +340,7 @@
    1.12              message = m
    1.13          }
    1.14  
    1.15 +        Logger.frontendLogger.log("previous, will reload table view")
    1.16          configureTableRows()
    1.17          tableView.reloadData()
    1.18          configureView()
    1.19 @@ -455,6 +457,7 @@
    1.20  
    1.21  extension EmailViewController {
    1.22      override func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
    1.23 +        Logger.frontendLogger.log("number of rows -> %d", tableData?.numberOfRows() ?? 0)
    1.24          return tableData?.numberOfRows() ?? 0
    1.25      }
    1.26  
     2.1 --- a/pEpForiOS/UI/EmailDisplay/Stuff that is named Compose but is used only in EmailView/ComposeDataSource.swift	Tue Jan 15 17:25:46 2019 +0100
     2.2 +++ b/pEpForiOS/UI/EmailDisplay/Stuff that is named Compose but is used only in EmailView/ComposeDataSource.swift	Thu Jan 17 08:33:29 2019 +0100
     2.3 @@ -40,6 +40,7 @@
     2.4          } else {
     2.5              filterRows(filter: { $0.type != .mailingList} )
     2.6          }
     2.7 +        Logger.frontendLogger.log("filtering rows")
     2.8      }
     2.9  
    2.10      func numberOfRows() -> Int {