1662194700
Swift Logging Utility in Xcode & Google Docs
class MyAwesomeViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
QL1("Debug")
QL2("Info")
QL3("Warning")
awesomeFunction()
}
func awesomeFunction() {
QL4("Error")
}
}
-
Paste this where QorumLogs is initiliazed:
QorumLogs.onlyShowThisFile(NewClass)
In production, send all your logs to Google Docs with only 1 line of extra code.
QorumLogs.enabled = false
QorumOnlineLogs.enabled = true
System logs are white (or black) after all, yours are not :)
curl -fsSL https://raw.github.com/supermarin/Alcatraz/master/Scripts/install.sh | sh
You can use Cocoapods to install QorumLogs
by adding it to your Podfile
:
platform :ios, '8.0' # platform :tvos, '9.0' (for tvOS)
use_frameworks!
pod 'QorumLogs' #Stable release for Swift 3.0
pod 'QorumLogs', :git => 'https://github.com/goktugyil/QorumLogs.git' #Latest release for Swift 3.0
pod 'QorumLogs', :git => 'https://github.com/goktugyil/QorumLogs.git', :branch => 'Swift2.3' #For Swift 2.3
pod 'QorumLogs', '~> 0.8' #For Swift 2.2
(Cocoapods forces you to import the framework in every file. If anyone has a solution or workaround, inform me please)
You can install QorumLogs
via Carthage by adding the following line to your Cartfile
:
github "goktugyil/QorumLogs"
Download and drop 'QorumLogs.swift' in your project.
import QorumLogs
)QorumLogs.enabled = true
QorumLogs.test()
Congratulations!
[Learn to integrate GoogleDocs](./Log To GoogleDocs.md)
Sets the minimum log level that is seen in the debug area:
QorumLogs.minimumLogLevelShown = 2
QorumOnlineLogs.minimumLogLevelShown = 4 // Its a good idea to have OnlineLog level a bit higher
QL1("mylog") // Doesn't show this level anywhere, because minimum level is 2
QL2("mylog") // Shows this only in debugger
QL3("mylog") // Shows this only in debugger
QL4("mylog") // Shows this in debugger and online logs
QL methods can print in both Debugger and Google Docs, depending on which is active.
You need to write the name of the actual file, you can do this by a string and also directly the class name can be appropriate if it is the same as the file name. Add the following code where you setup QorumLogs:
QorumLogs.onlyShowThisFile(MyAwesomeViewController)
QorumLogs.onlyShowThisFile("MyAwesomeViewController")
You do not need the extension of the file.
QLPlusLine()
QL2("Text between line")
QLShortLine()
Add custom colors for Mac, iOS, tvOS:
QorumLogs.colorsForLogLevels[0] = QLColor(r: 255, g: 255, b: 0)
QorumLogs.colorsForLogLevels[1] = QLColor(red: 255, green: 20, blue: 147)
QL1("Mylog")
QorumOnlineLogs.extraInformation["userId"] = "sfkoFvvbKgr"
QorumOnlineLogs.extraInformation["name"] = "Will Smith"
QL1("Will is awesome!")
QL5("Will rules!")
You only need to set the extraInformation one time.
KZLinkedConsole is a plugin for Xcode which add clickable link to place in code from log was printed. All you need to do is install it. For more information go to https://github.com/krzysztofzablocki/KZLinkedConsole
Unfortunately you can't just select the rows inside Google Docs and delete them. You need to select the rows where there are row numbers, then right click, then press delete click "Delete rows x-y" http://i.imgur.com/0XyAAbD.png
QorumLogs is available under the MIT license. See the LICENSE file.
Debugging, logging, remote logging, remote debugging, qorum app, swift log, library, framework, tool, google docs, google drive, google forms
Author: goktugyil
Source code: https://github.com/goktugyil/QorumLogs
License: MIT license
#swift
1619247660
The liquid-cooled Tensor Processing Units, built to slot into server racks, can deliver up to 100 petaflops of compute.
The liquid-cooled Tensor Processing Units, built to slot into server racks, can deliver up to 100 petaflops of compute.
As the world is gearing towards more automation and AI, the need for quantum computing has also grown exponentially. Quantum computing lies at the intersection of quantum physics and high-end computer technology, and in more than one way, hold the key to our AI-driven future.
Quantum computing requires state-of-the-art tools to perform high-end computing. This is where TPUs come in handy. TPUs or Tensor Processing Units are custom-built ASICs (Application Specific Integrated Circuits) to execute machine learning tasks efficiently. TPUs are specific hardware developed by Google for neural network machine learning, specially customised to Google’s Machine Learning software, Tensorflow.
The liquid-cooled Tensor Processing units, built to slot into server racks, can deliver up to 100 petaflops of compute. It powers Google products like Google Search, Gmail, Google Photos and Google Cloud AI APIs.
#opinions #alphabet #asics #floq #google #google alphabet #google quantum computing #google tensorflow #google tensorflow quantum #google tpu #google tpus #machine learning #quantum computer #quantum computing #quantum computing programming #quantum leap #sandbox #secret development #tensorflow #tpu #tpus
1600430400
Swift is a fast and efficient general-purpose programming language that provides real-time feedback and can be seamlessly incorporated into existing Objective-C code. This is why developers are able to write safer, more reliable code while saving time. It aims to be the best language that can be used for various purposes ranging from systems programming to mobile as well as desktop apps and scaling up to cloud services.
Below here, we list down the 10 best online resources to learn Swift language.
(The list is in no particular order)
#developers corner #free online resources to learn swift language #learn swift #learn swift free #learn swift online free #resources to learn swift #swift language #swift programming
1609999986
A thoroughly researched list of top Swift developers with ratings & reviews to help find the best Swift development companies around the world.
#swift development service providers #best swift development companies #top swift development companies #swift development solutions #top swift developers #swift
1594193714
Want to create a native iOS application for your Startup?
Hire Dedicated Swift Developers for end-to-end services like development, migration, upgrade, testing, and support & maintenance. Trust HourlyDeveloper.io our Swift development team for iOS device apps that are high on performance and security.
Consult with experts:- https://bit.ly/2C5M6cz
#hire dedicated swift developers #swift developers #swift development company #swift development services #swift development #swift
1659944040
Swift Logging Utility in Xcode & Google Docs
class MyAwesomeViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
QL1("Debug")
QL2("Info")
QL3("Warning")
awesomeFunction()
}
func awesomeFunction() {
QL4("Error")
}
}
-
Paste this where QorumLogs is initiliazed:
QorumLogs.onlyShowThisFile(NewClass)
In production, send all your logs to Google Docs with only 1 line of extra code.
QorumLogs.enabled = false
QorumOnlineLogs.enabled = true
System logs are white (or black) after all, yours are not :)
curl -fsSL https://raw.github.com/supermarin/Alcatraz/master/Scripts/install.sh | sh
You can use Cocoapods to install QorumLogs
by adding it to your Podfile
:
platform :ios, '8.0' # platform :tvos, '9.0' (for tvOS)
use_frameworks!
pod 'QorumLogs' #Stable release for Swift 3.0
pod 'QorumLogs', :git => 'https://github.com/goktugyil/QorumLogs.git' #Latest release for Swift 3.0
pod 'QorumLogs', :git => 'https://github.com/goktugyil/QorumLogs.git', :branch => 'Swift2.3' #For Swift 2.3
pod 'QorumLogs', '~> 0.8' #For Swift 2.2
(Cocoapods forces you to import the framework in every file. If anyone has a solution or workaround, inform me please)
You can install QorumLogs
via Carthage by adding the following line to your Cartfile
:
github "goktugyil/QorumLogs"
Download and drop 'QorumLogs.swift' in your project.
import QorumLogs
)QorumLogs.enabled = true
QorumLogs.test()
Congratulations!
[Learn to integrate GoogleDocs](./Log To GoogleDocs.md)
Sets the minimum log level that is seen in the debug area:
QorumLogs.minimumLogLevelShown = 2
QorumOnlineLogs.minimumLogLevelShown = 4 // Its a good idea to have OnlineLog level a bit higher
QL1("mylog") // Doesn't show this level anywhere, because minimum level is 2
QL2("mylog") // Shows this only in debugger
QL3("mylog") // Shows this only in debugger
QL4("mylog") // Shows this in debugger and online logs
QL methods can print in both Debugger and Google Docs, depending on which is active.
You need to write the name of the actual file, you can do this by a string and also directly the class name can be appropriate if it is the same as the file name. Add the following code where you setup QorumLogs:
QorumLogs.onlyShowThisFile(MyAwesomeViewController)
QorumLogs.onlyShowThisFile("MyAwesomeViewController")
You do not need the extension of the file.
QLPlusLine()
QL2("Text between line")
QLShortLine()
Add custom colors for Mac, iOS, tvOS:
QorumLogs.colorsForLogLevels[0] = QLColor(r: 255, g: 255, b: 0)
QorumLogs.colorsForLogLevels[1] = QLColor(red: 255, green: 20, blue: 147)
QL1("Mylog")
QorumOnlineLogs.extraInformation["userId"] = "sfkoFvvbKgr"
QorumOnlineLogs.extraInformation["name"] = "Will Smith"
QL1("Will is awesome!")
QL5("Will rules!")
You only need to set the extraInformation one time.
KZLinkedConsole is a plugin for Xcode which add clickable link to place in code from log was printed. All you need to do is install it. For more information go to https://github.com/krzysztofzablocki/KZLinkedConsole
Unfortunately you can't just select the rows inside Google Docs and delete them. You need to select the rows where there are row numbers, then right click, then press delete click "Delete rows x-y" http://i.imgur.com/0XyAAbD.png
Debugging, logging, remote logging, remote debugging, qorum app, swift log, library, framework, tool, google docs, google drive, google forms
Author: goktugyil
Source Code: https://github.com/goktugyil/QorumLogs
License: MIT license