Logger

Swift Simple Console Logger

Overview

Installation

Swift Package Manager

  1. File > Swift Packages > Add Package Dependency
  2. 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")		// ?

GitHub

View Github