Houston is a simple, lightweight logging library for iOS. It is meant to allow easy logging of application data to multiple endpoints (console, stdout, http, etc). Inspired by corey-rb
To integrate Houston into your project, add the following to your project's Podfile
pod 'Houston'
Coming Soon.
Coming Soon.
In each source file,
import Houston
In your AppDelegate (or other global file), configure log destinations
let consoleDestination = ConsoleDestination()
Logger.add(destination: consoleDestination)
You can log just about anything.
You can log simple strings:
Logger.verbose("View Loaded")
Logger.warning("Yikes something is not right")
Logger.error("Fatal Error")
Or you can log objects:
Logger.info(Date())
Logger.debug(["Yellow", "Blue", 3])
Want to learn Swift and help contribute? Read Here
Houston is released under the MIT license. See LICENSE for details.
link |
Stars: 6 |
Last commit: 2 years ago |
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics