GodEye alternatives and similar libraries
Based on the "Logging" category.
Alternatively, view GodEye alternatives based on common mentions on social networks and blogs.
-
CocoaLumberjack
A fast & simple, yet powerful & flexible logging framework for macOS, iOS, tvOS and watchOS -
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. -
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 -
KZLinkedConsole
Clickable links in your Xcode console, so you never wonder which class logged the message. -
Diagnostics
Allow users to easily share Diagnostics with your support team to improve the flow of fixing bugs. -
JustLog
DISCONTINUED. JustLog brings logging on iOS to the next level. It supports console, file and remote Logstash logging via TCP socket with no effort. Support for logz.io available. -
LxDBAnything
Automate box any value! Print log without any format control symbol! Change debug habit thoroughly! -
Twitter Logging Service
Twitter Logging Service is a robust and performant logging framework for iOS clients -
XLFacility
DISCONTINUED. Elegant and extensive logging facility for OS X & iOS (includes database, Telnet and HTTP servers) -
Loggerithm
DISCONTINUED. A lightweight Swift logger, uses print in development and NSLog in production. Support colourful and formatted output. -
puree
DISCONTINUED. [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. -
Logkit
An efficient logging library for OS X, iOS, watchOS, and tvOS â written in Swift. Log to console, file, HTTP service, or your own endpoint. Simple to get started, but smartly customizable. -
CleanroomASL
DISCONTINUED. 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. -
ReflectedStringConvertible
A protocol that allows any class to be printed as if it were a struct or a JSON object. -
Spy
Spy is a flexible, lightweight, multiplatform logging utility written in pure Swift. It allows to log with different levels and on different channels. You can define what levels and channels actually are.
WorkOS - The modern identity platform for B2B SaaS
* 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 GodEye or a related project?
README
GodEye
Automaticly display Log,Crash,Network,ANR,Leak,CPU,RAM,FPS,NetFlow,Folder and etc with one line of code based on Swift. Just like God opened his eyes.
[ä¸ćć楣](./README_CN.md)
It's so huge that I split it into several independent components:
- [Log4G] â Simple, lightweight logging framework written in Swift.
- [AssistiveButton] â Simple Assistive Button.
- [AppBaseKit] â A handy kit of Swift extensions and wrapped class to boost your productivity.
- [AppSwizzle] â lightweight and flexible method swizzling wrapped by swift.
- [LeakEye] â LeakEye is a memory leak monitor.
- [NetworkEye] â NetworkEye is a network monitor,automatic catch the request and response infomation of all kinds of request send.
- [ANREye] â ANREye is an ANR (Application Not Responding) monitor,automatic catch the ANR and return stacktrace of all threads.
- [ASLEye] â ASLEye is an ASL(Apple System Log) monitor, automatic catch the log from NSLog by asl module.
- [CrashEye] â CrashEye is an ios crash monitorďźautomatic catch exception crash & signal crash and return the stacktrace.
- [SystemEye] â SystemEye is a system monitor,automatic catch the infomation of cpu,memory....etc.
Features
- [x] monitor for the log and point out log type.
- [x] monitor for the crash, include Uncatched Exception and Signal.
- [x] monitor for the network, all information of request and response.
- [x] monitor for the ANR, tell you the stacktrace of all threads.
- [x] monitor for the memory leak, tell you the leak object's class name.
- [x] a terminal for you to customized your commands and things what to do.
- [x] monitor for the cpu usage of system and application.
- [x] monitor for the ram usage of system and application.
- [x] monitor for the FPS.
- [x] monitor for the netflow of system and application.
- [x] a file browser for look through the sandbox, .app and root directory.
- [x] custom and runtime setting
Characteristics
- [x] richly: comprehensive feature
- [x] conveniently: one line code access
- [x] automaticly: no code intrusion
- [x] safety: no compile code in release
Preview
Book and Principle
I has wrote a book named ăiOSçć§çźç¨ă,each chapter records the course function of the implementation details and the way to explore.sorry for english friends,this book wrote by chineses.
Installation
CocoaPods
GodEye is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "GodEye"
Not build in Release
First, add configurations in Podfile.
pod 'GodEye', '~> 1.0.0', :configurations => ['Debug']
Then, find Other Swift Flags
in your target's Build Settings
,add DEBUG
in Debug scheme.
Finally, add DEBUG
macro in makeEyeďź
#if DEBUG
GodEye.makeEye(with: self.window!)
#endif
Carthage
Or, if youâre using Carthage, add GodEye to your Cartfile:
github "zixun/GodEye"
Add GodEye to Embed Frameworks
On your application targetsâ âGeneralâ
settings tab, in the âEmbed Frameworksâ section, drag and drop GodEye.framework
from the Carthage/Build folder on disk.
Add Dependency to Linked Frameworks and Libraries
On your application targetsâ âGeneralâ
settings tab, in the âLinked Frameworks and Librariesâ section, drag and drop the dependency framework used in GodEye from the Carthage/Build folder on disk.
Add Run Script
On your application targetsâ âBuild Phasesâ settings tab, click the â+â icon and choose âNew Run Script Phaseâ. Create a Run Script in which you specify your shell (ex: /bin/sh), add the following contents to the script area below the shell:
/usr/local/bin/carthage copy-frameworks
and add the paths to the frameworks you want to use under âInput Filesâ:
OpenSource Application Use GodEye
CocoaChinaPlus is an open source application wrote by swift, now the GodEye is work well in it!
Usage
import at AppDelegate:
import GodEye
making GodEye at application:didFinishLaunchingWithOptions
:
GodEye.makeEye(with:self.window!)
well, make GodEye with one line code as above will use default configuration.We also can custom our configuration:
let configuration = Configuration()
configuration.command.add(command: "test", description: "test command") { () -> (String) in
return "this is test command result"
}
configuration.command.add(command: "info", description: "print test info") { () -> (String) in
return "info"
}
GodEye.makeEye(with: self.window!, configuration: configuration)
the example above is custom command configuration, we also can custom control and switch configuration.see detail at ControlConfiguration
and SwitchConfiguration
Example
To run the example project, clone the repo, and run pod install
from the Example directory first.
Author
twitter: @zixun_
email: [email protected]
github: zixun
blog: ĺ垪(SubCycle)
Thanks
First is Github, it gives me a lot of ideas and inspiration, and even ready-made code:
- Log monitor inspired by AELog
- Crash monitor inspired by GT
- ANR monitor inspired by Watchdog
- Network monitor inspired by NetworkEye
Secondly is StackOverFlow, it answers a lot of problems encountered in the author's writing and development,here are a few images of deep:
- CPU usage of application:ios-get-cpu-usage-from-application
- CPU usage of system:get-cpu-percent-usage
Finally, thanks to several great blog:
- Memory Leak inspired by MrPeak's PLeakSniffer: http://mrpeak.cn/blog/leak
- wereadteam's MLeaksFinder: https://wereadteam.github.io/2016/02/22/MLeaksFinder
License
GodEye is available under the MIT license. See the LICENSE file for more info.
*Note that all licence references and agreements mentioned in the GodEye README section above
are relevant to that project's source code only.