An easy to use light-weight logging Swift Package.
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:
MinLog.v("Hello World")
The output will be:
πππ VERBOSE: FileName.swift - FunctionName(_:) at line 33[13]: Hello World πππ