Logger
Swift Simple Console Logger
Overview
Installation
Swift Package Manager
- File > Swift Packages > Add Package Dependency
- Add
https://github.com/InstaRobot/Logger.git
OR
Update dependencies
in Package.swift
dependencies: [
.package(url: "https://github.com/InstaRobot/Logger.git", .upToNextMajor(from: "1.0.0"))
]
Usage
import Logger
Logger.info("debug") // ?
Logger.error("debug") // ?
Logger.warning("debug") // ?
Logger.debug("debug") // ?