A simple logger.
To add TSLog to your Xcode project, select File -> Swift Packages -> Add Package Depedancy. Enter https://github.com/FvnctionHQ/ts-log
TSLog.sI.activeLevel = .debug
...
TSLog.sI.logCall()
Log string.
open func log(_ level: LogLevel, _ str: String, functionName: String = #function, fileName: String = #file)
Output example:
TSLog debug touchesMoved(_:with:) pos: 121.0 x 165.0
Log function call.
open func logCall(functionName: String = #function, fileName: String = #file)
Output example:
TSLog :: init() :: TSThumbControlsModuleCoordinator