SwiftyLogger is a logging library for iOS applications, that helps you track the application flow.
SwiftyLogger encapsulates multiple logging services into a single global
Logger instance which provides an easy-to-use interface (defined in
LoggerProtocol) for logging events and errors within the application.
It could be used for both development and in-production purposes such as debugging, analyzing user activity, testing and many other.
iOS 11.0 +
mainbranch keeps the newest major - stable release.
stablebranch keeps the newest minor - stable release.
betabranch keeps the newest minor - beta release.
https://github.com/grikshka/Swifty-Loggerand click Next.
.package(name: "SwiftyLogger", url: "https://github.com/grikshka/Swifty-Logger/", from: "1.0.0")
import SwiftyLogger let logger: LoggerProtocol = Logger.shared logger.registerServices(.consoleLogger, .firebaseAnalyticsLogger) logger.log(type: .info, name: "ExampleLog", description: "Example Log Description", parameters: ["SwiftyLoggerVersion": "1.0.0"])