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.0Then 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.gitThen drag the BLLogger folder into your Xcode project.
Author
Bell App Lab, [email protected]
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.

