Swiftpack.co - emmanuelkehinde/Loggr as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by emmanuelkehinde.
emmanuelkehinde/Loggr 1.0.0
A simple logging solution for your iOS projects. Based on my blog post https://emmanuelkehinde.io/creating-and-distributing-a-simple-ios-library-using-swift-package-manager/
⭐️ 0
🕓 45 weeks ago
iOS
.package(url: "https://github.com/emmanuelkehinde/Loggr.git", from: "1.0.0")

Loggr

A simple logging solution for your iOS projects.

<img style="max-width:100%;" src=https://github.com/emmanuelkehinde/Loggr/raw/master/loggr.gif?raw=true alt="Loggr" height=400/>

Installation

Here is how to integrate the library into your iOS project.

Swift Package Manager

  • File > Swift Packages > Add Package Dependency
  • Add https://github.com/emmanuelkehinde/Loggr.git
  • Select "Up to Next Major" with "1.0.0"

Usage

import Loggr

// Debug
Loggr.logDebug("Debug Message")

// Info
Loggr.logInfo("Info Message")

// Error
Loggr.logError("Error Message")

// Warning
Loggr.logWarning("Warning Message")

GitHub

link
Stars: 0
Last commit: 45 weeks ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Related Packages

Release Notes

1.0.0
1 year ago

First Release

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics