parent
baa7e46268
commit
81ea2e7c57
@ -1,7 +1,10 @@ |
||||
// Copyright © 2022 Stormbird PTE. LTD. |
||||
|
||||
import Foundation |
||||
import os.log |
||||
|
||||
private let logger = Logger(subsystem: Bundle.main.bundleIdentifier!, category: "trackAPICalls") |
||||
|
||||
func infoLog(_ message: Any, callerFunctionName: String = #function) { |
||||
NSLog("\(message) from: \(callerFunctionName)") |
||||
logger.info("\(String(describing: message)) from: \(callerFunctionName)") |
||||
} |
||||
|
Loading…
Reference in new issue