Skip to content

InstaRobot/Logger

Repository files navigation

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")		// 🟢

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages