Swiftpack.co - Package - BellAppLab/BLLogger

BLLogger Version License

Platforms Swift support CocoaPods Compatible Carthage compatible Swift Package Manager compatible Twitter

BLLogger

A Swift dLog implementation.

To be quite honest, this is so simple that it's probably easier to just copy and paste the code directly into your project, instead of adding yet another dependency to it.

You can find the gist here.

Specs

  • iOS 9+
  • watchOS 3+
  • tvOS 9+
  • macOS 10.11+
  • Swift 3.3+

Usage

func someFunction() {
    dLog("This message will appear on your console when you're in debug mode")
    aLog("This message will always appear on your console")
}

Configuration

BLLogger works by using the DEBUG flag. As of Xcode 8 and above, no configuration is necessary for BLLogger to work.

Installation

Cocoapods

pod 'BLLogger', '~> 1.0'

Then import BLLogger where needed.

Carthage

github "BellAppLab/BLLogger" ~> 1.0

Then import BLLogger where needed.

Swift Package Manager

dependencies: [
.package(url: "https://github.com/BellAppLab/BLLogger", from: "1.0")
]

Then import BLLogger where needed.

Git Submodules

cd toYourProjectsFolder
git submodule add -b submodule --name BLLogger https://github.com/BellAppLab/BLLogger.git

Then drag the BLLogger folder into your Xcode project.

Author

Bell App Lab, apps@bellapplab.com

Credits

Logo image by Ronald Cortez from The Noun Project

License

BLLogger is available under the MIT license. See the LICENSE file for more info.

Github

link
Stars: 0
Help us keep the lights on

Dependencies

Used By

Total: