Skip to content
/ Juno Public

Logger for iOS platform which allows you to see/display all print logs on UI component while you are using the app. Cool right?

License

Notifications You must be signed in to change notification settings

emreond/Juno

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Juno

Logger for iOS platform which allows you to see/display all print logs on UI component while you are using the app. Cool right?

Swift Version

Integration

CocoaPods

You can use CocoaPods to install Juno by adding it to your Podfile:

platform :ios, '11.0'
use_frameworks!

target 'MyApp' do
  pod 'Juno', :git => 'https://github.com/emreond/Juno.git', :tag => '0.0.2'
end

Run pods install or pods update to intagrate pods with your project.

How Does It Work:

Initialize the Juno just before didFinishLaunchWithOptions function return in AppDelegate and see print your logs with Juno.print() and see the magic!

How To Use It

func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
    // Override point for customization after application launch.
        
    let bounds = UIScreen.main.bounds
    window = UIWindow(frame: bounds)
    let mainController = ViewController()
    window?.rootViewController = UINavigationController(rootViewController: mainController)
    window?.makeKeyAndVisible()

    #if DEBUG
    Juno()
    #endif
    return true
}
    

Run below code to print

Juno.print("Console Log Example")

How To Run Example

Just select JunoExample scheme and hit run!

About

Logger for iOS platform which allows you to see/display all print logs on UI component while you are using the app. Cool right?

Resources

License

Stars

Watchers

Forks

Packages

No packages published