TinyConsole alternatives and similar libraries
Based on the "Logging" category.
Alternatively, view TinyConsole 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. -
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 -
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) -
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. -
Atlantis
A powerful input-agnostic swift logging framework made to speed up development with maximum readability. -
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.
InfluxDB - Purpose built for real-time analytics at any scale.
* 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 TinyConsole or a related project?
README
TinyConsole
TinyConsole is a tiny log console to display information while using your iOS app and written in Swift.
Usage
Wrap your Main ViewController inside of a TinyConsoleController
like so:
TinyConsole.createViewController(rootViewController: MyMainViewController())
Actions
Hide and Show
Shake your device to toggle the console. If youβre using the Simulator, press β ctrl-β cmd-z.
Console output
// Print message
TinyConsole.print("hello")
// Print messages any color you want
TinyConsole.print("green text", color: UIColor.green)
// Print a red error message
TinyConsole.error("something went wrong")
// Print a marker for orientation
TinyConsole.addLine()
// Clear console
TinyConsole.clear()
Implementation Example
Instead of
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
window = UIWindow(frame: UIScreen.main.bounds)
window?.rootViewController = MyMainViewController()
window?.makeKeyAndVisible()
return true
}
write
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
window = UIWindow(frame: UIScreen.main.bounds)
window?.rootViewController = TinyConsole.createViewController(rootViewController: MyMainViewController())
window?.makeKeyAndVisible()
return true
}
alternatively, check out the example project included in this repository.
Demo
Requirements
- Xcode 11
- Swift 5
- iOS 11 or greater
Installation
Carthage
Add this to your Cartfile:
github "Cosmo/TinyConsole"
Manually
Just drag the source files into your project.
Hierarchy
Core Team
- @Cosmo, Devran "Cosmo" Uenal
- @mRs-, Marius Landwehr
- @ohitsdaniel, Daniel Peter
Thanks
Many thanks to the contributors of this project.
Contact
- Devran "Cosmo" Uenal
- Twitter: @maccosmo
- LinkedIn: devranuenal
Other Projects
- BinaryKit β BinaryKit helps you to break down binary data into bits and bytes and easily access specific parts.
- Clippy β Clippy from Microsoft Office is back and runs on macOS! Written in Swift.
- GrammaticalNumber β Turns singular words to the plural and vice-versa in Swift.
- HackMan β Stop writing boilerplate code yourself. Let hackman do it for you via the command line.
- ISO8859 β Convert ISO8859 1-16 Encoded Text to String in Swift. Supports iOS, tvOS, watchOS and macOS.
- SpriteMap β SpriteMap helps you to extract sprites out of a sprite map. Written in Swift.
- StringCase β Converts String to lowerCamelCase, UpperCamelCase and snake_case. Tested and written in Swift.
License
TinyConsole is released under the MIT License.
*Note that all licence references and agreements mentioned in the TinyConsole README section above
are relevant to that project's source code only.