Watchdog alternatives and similar libraries
Based on the "Logging" category.
Alternatively, view Watchdog alternatives based on common mentions on social networks and blogs.
-
SwiftyBeaver
Convenient & secure logging during development & release in Swift 4 & 5 -
XCGLogger
A debug log framework for use in Swift projects. Allows you to log details to the console (and optionally a file), just like you would have with NSLog() or print(), but with additional information, such as the date, function name, filename and line number. -
Dotzu
Debbuger tool for iOS developer. Display logs, network request, device informations, crash logs while using the app. -
TinyConsole
📱💬🚦 TinyConsole is a micro-console that can help you log and display information inside an iOS application, where having a connection to a development computer is not possible. -
CleanroomLogger
CleanroomLogger provides an extensible Swift-based logging API that is simple, lightweight and performant -
Willow
Willow is a powerful, yet lightweight logging library written in Swift. -
QorumLogs
:closed_book: Swift Logging Utility for Xcode & Google Docs -
Gedatsu
Gedatsu provide readable format about AutoLayout error console log -
WatchdogInspector
Shows your current framerate (fps) in the status bar of your iOS app -
Duration
A simple Swift package for measuring and reporting the time taken for operations -
Puree
[Obsoleted] A log collector for iOS (new version! -> https://github.com/cookpad/Puree-Swift) -
Atlantis
A powerful input-agnostic swift logging framework made to speed up development with maximum readability. -
AEConsole
Customizable Console UI overlay with debug log on top of your iOS App -
Bugfender
Bugfender SDK for iOS, a remote logger tailor-made for mobile -
CleanroomASL
A Swift-based API for reading from & writing to the Apple System Log (more commonly known somewhat inaccurately as "the console") -
TraceLog
TraceLog is a highly configurable, flexible, portable, and simple to use debug logging system for Swift and Objective-C applications running on Linux, macOS, iOS, watchOS, and tvOS. -
AELog
Simple, lightweight and flexible debug logging framework written in Swift
Appwrite - The Open Source Firebase alternative introduces iOS support
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of Watchdog or a related project?
README
Watchdog
Class for logging excessive blocking on the main thread. It watches the main thread and checks if it doesn’t get blocked for more than defined threshold.
👮 Main thread was blocked for 1.25s 👮
You can also inspect which part of your code is blocking the main thread.
Usage
Simply, just instantiate Watchdog with number of seconds that must pass to consider the main thread blocked. Additionally you can enable strictMode
that stops the execution whenever the threshold is reached. This way, you can inspect which part of your code is blocking the main thread.
let watchdog = Watchdog(threshold: 0.4, strictMode: true)
Don't forget to retain Watchdog somewhere or it will get released when it goes out of scope.
Requirements
- iOS 8.0+, tvOS 9.0+ or macOS 10.9+
- Swift 5.0
Installation
Carthage
Add the following to your Cartfile:
github "wojteklu/Watchdog"
Then run carthage update
.
Follow the current instructions in Carthage's README for up to date installation instructions.
CocoaPods
Add the following to your Podfile:
pod 'Watchdog'
You will also need to make sure you're opting into using frameworks:
use_frameworks!
Manually
Manually add the file into your Xcode project. Slightly simpler, but updates are also manual.
Author
Wojtek Lukaszuk @wojteklu
License
Watchdog is available under the MIT license. See the LICENSE file for more info.
*Note that all licence references and agreements mentioned in the Watchdog README section above
are relevant to that project's source code only.