CocoaPods trunk is moving to be read-only. Read more on the blog, there are 14 months to go.
| TestsTested | ✗ | 
| LangLanguage | SwiftSwift | 
| License | MIT | 
| ReleasedLast Release | Sep 2015 | 
| SPMSupports SPM | ✗ | 
Maintained by Arthur Ariel Sabintsev.
println() along the lines of DLog If you’re like me, you miss seeing the filename, method name, and/or line number in your println() statements in your Swift projects.
Fear not, PrintlnMagic is here to bring you back to the good old days of DLog.
println() method description and README based on #2.pod 'PrintlnMagic'import PrintlnMagic in the files you want to use it. This is a CocoaPods-specific step.PrintlnMagic.swift file into your projectReplace all the println() statements in your project with magic().
Before Xcode 6.3, all instances of println() were automaticlaly overridden by the redefined println() method in PrintlnMagic.swift.
After Xcode 6.3, and thanks to some handy-work on the part of Jesse Squires in Issue #2, you can override println() using MyAppName.println(). In this example, MyAppName is the name attached to your .xcodeproj.
Before PrintlnMagic, your console will display the following from println():
This is a test string.
After PrintlnMagic, your console will display the following from magic() and/or MyAppName.println():
ViewController.viewDidLoad()[15]: This is a test string.
// ViewController is the filename
// viewDidLoad() is the name of the function 
// [15] is the line number