{"id":15930678,"url":"https://github.com/mainasuk/consoleprint","last_synced_at":"2025-08-24T03:41:31.236Z","repository":{"id":56906516,"uuid":"189401156","full_name":"MainasuK/ConsolePrint","owner":"MainasuK","description":null,"archived":false,"fork":false,"pushed_at":"2019-06-26T07:23:16.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-10T21:16:22.360Z","etag":null,"topics":["cocoapods","swift"],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MainasuK.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-05-30T11:23:32.000Z","updated_at":"2019-06-26T07:23:18.000Z","dependencies_parsed_at":"2022-08-20T19:20:23.106Z","dependency_job_id":null,"html_url":"https://github.com/MainasuK/ConsolePrint","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MainasuK%2FConsolePrint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MainasuK%2FConsolePrint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MainasuK%2FConsolePrint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MainasuK%2FConsolePrint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MainasuK","download_url":"https://codeload.github.com/MainasuK/ConsolePrint/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247014514,"owners_count":20869376,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cocoapods","swift"],"created_at":"2024-10-07T00:43:04.831Z","updated_at":"2025-04-03T14:20:17.300Z","avatar_url":"https://github.com/MainasuK.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ConsolePrint\n[![CI Status](https://img.shields.io/travis/MainasuK/ConsolePrint.svg?style=flat)](https://travis-ci.org/MainasuK/ConsolePrint)\n[![Version](https://img.shields.io/cocoapods/v/ConsolePrint.svg?style=flat)](https://cocoapods.org/pods/ConsolePrint)\n[![License](https://img.shields.io/cocoapods/l/ConsolePrint.svg?style=flat)](https://cocoapods.org/pods/ConsolePrint)\n[![Platform](https://img.shields.io/cocoapods/p/ConsolePrint.svg?style=flat)](https://cocoapods.org/pods/ConsolePrint)\n\nThis idea come from [here](https://onevcat.com/2016/02/swift-performance/). Has been used for many years and I decided to open source it.\n\n## Installation\n\n```ruby\n…\npod 'ConsolePrint'\n…\n\n# Enable ConsolePrint manually. Default not print anything\npost_install do |installer|\n  installer.pods_project.targets.each do |target|\n      if ['ConsolePrint'].include? target.name\n          target.build_configurations.each do |config|\n              if config.name == \"Debug\"\n                  config.build_settings['SWIFT_ACTIVE_COMPILATION_CONDITIONS'] += \"ConsolePrint\"\n              end\n          end\n      end\n  end\nend\n```\n\n\n## Usage\n```swift\n// e.g.\nfunc application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -\u003e Bool {\n    consolePrint(\"Hello, World!\")\n    return true\n}\n\n// ^ AppDelegate.swift[36], application(_:didFinishLaunchingWithOptions:): Hello, World!\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmainasuk%2Fconsoleprint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmainasuk%2Fconsoleprint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmainasuk%2Fconsoleprint/lists"}