Skip to main content

SwiftyBeaver - The world’s first logging platform for Swift

SwiftyBeaver Logging Framework is the extensible &  lightweight open-source logger for Swift 2.2 and later. It is great for  development & release due to its support for many (custom) logging destinations.

Framework Unique Feature Set

  1. Log to Xcode Console and / or log to a file
  2. Add custom log destination handlers to log to Loggly, Redis, etc.
  3. Send your logs with end-to-end AES256 encryption to the SwiftyBeaver Mac App
  4. Colored output to Xcode Console, log file, etc.
  5. Uses own serial background queues/threads for a great performance
  6. Log levels which are below the set minimum are not executed for even better release performance
  7. Increases productivity & saves a lot of time thanks to "Needle in the Haystack" mode
  8. Easy & convenient configuration
  9. Use multiple logging destinations & settings, even for the same type
  10. Already comes with good defaults
  11. Use log.debug("foo") syntax
  12. Get started with 2 lines of code
  13. Simple installation via Carthage, CocoaPods, Swift Package Manager or download
  14. Very detailed logging (optional):
    1. time (with microsecond precision)
    2. level (output in color)
    3. thread name (if not main thread)
    4. filename, function & line
    5. message (can be string or a variable of any type)
  15. Native support for leading Xcode development plugins


Comments

Popular posts from this blog

Pattern: Riblets vs. VIPER

Engineering the architecture behind Uber's new rider app

Not being held back by our extensive codebase and previous design choices gave us the freedom where we otherwise would have made compromises. The outcome is the sleek new app you see today, which implements a new mobile architecture across both iOS and Android. Read on to learn why we felt the need to create this new architecture pattern, called Riblets, and how it helps us reach our goals.

The platforms share:

Core architectureClass namesInheritance relationships between business logic unitsHow business logic is dividedPlugin points (names, existence, structure, etc.)Reactive programming chainsUnified platform components
Each Riblet is made up of one Router, Interactor, and Builder with its Component (hence the name), and optional Presenters and Views. The Router and Interactor handle the business logic, while the Presenter and View handle the view logic.

Uber

Stetho - A Chrome debug bridge for Android applications

Stetho is a sophisticated debug bridge for Android applications. When enabled, developers have access to the Chrome Developer Tools feature natively part of the Chrome desktop browser. Developers can also choose to enable the optional dumpapp tool which offers a powerful command-line interface to application internals.

Facebook Github

WireMock

WireMock is a flexible library for stubbing and mocking web services. Unlike general purpose mocking tools it works by creating an actual HTTP server that your code under test can connect to as it would a real web service.

It supports HTTP response stubbing, request verification, proxy/intercept, record/playback of stubs and fault injection, and can be used from within a unit test or deployed into a test environment.

Although it’s written in Java, there’s also a JSON API so you can use it with pretty much any language out there.

WireMock.org