An easy to use light-weight logging Swift Package.
Installation instructions:
To install the MinLog package through Swift Package Manager(SPM):
- Open Xcode
- Go to File -> Add Packages
- On top right search bar, search for URL: https://github.com/TribalScale/MinLog.git
- Add the package
Features of MinLog library: This library debug prints the file name, function name, line number and a message. The logging has 5 levels:
- Verbose: 👄
- Error: ❌
- Info: 📙
- Warning: 🔔
- Debug: 🧑💻
The library can be used in this way:
The output will be:
👄👄👄 VERBOSE: FileName.swift - FunctionName(_:) at line 33[13]: Hello World 👄👄👄