{"id":32312103,"url":"https://github.com/hyperdevs-team/prettylogger","last_synced_at":"2025-10-23T09:52:31.599Z","repository":{"id":62451082,"uuid":"164834619","full_name":"hyperdevs-team/PrettyLogger","owner":"hyperdevs-team","description":"A pretty set of log functions to print message in console using levels and emojis to improve visibility 💪","archived":false,"fork":false,"pushed_at":"2025-04-24T10:54:20.000Z","size":48,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-07-22T02:46:48.835Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/hyperdevs-team.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-01-09T09:46:19.000Z","updated_at":"2025-04-24T10:54:24.000Z","dependencies_parsed_at":"2025-04-17T05:46:44.688Z","dependency_job_id":"411ea23e-6da0-4114-b140-84e58674b950","html_url":"https://github.com/hyperdevs-team/PrettyLogger","commit_stats":null,"previous_names":["sebastianvarela/prettylogger"],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/hyperdevs-team/PrettyLogger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperdevs-team%2FPrettyLogger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperdevs-team%2FPrettyLogger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperdevs-team%2FPrettyLogger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperdevs-team%2FPrettyLogger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hyperdevs-team","download_url":"https://codeload.github.com/hyperdevs-team/PrettyLogger/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperdevs-team%2FPrettyLogger/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280598939,"owners_count":26357977,"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","status":"online","status_checked_at":"2025-10-23T02:00:06.710Z","response_time":142,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2025-10-23T09:52:26.966Z","updated_at":"2025-10-23T09:52:31.594Z","avatar_url":"https://github.com/hyperdevs-team.png","language":"Swift","readme":"# PrettyLogger\n\n![Platform](https://img.shields.io/badge/platform-iOS-blue.svg?style=flat) \n![Platform](https://img.shields.io/badge/platform-tvOS-blue.svg?style=flat)\n![Platform](https://img.shields.io/badge/platform-mac-blue.svg?style=flat)\n\n## Introduction\nA pretty set of log functions to print message in console using levels (Debug, Info, Trace, Warning \u0026 Error) and emojis to improve visibility 💪\n\n## Platforms \nSupport for iOS, tvOS and macOS\n\n## Support\nFor Swift 4 please use v1\n\nFor Swift 5 please use v2+\n\n## Installation\nPrettyLogger is available through [Swift Package Manager](https://swift.org/package-manager/). \n\n1. Follow Apple's [Adding Package Dependencies to Your App](\nhttps://developer.apple.com/documentation/xcode/adding_package_dependencies_to_your_app\n) guide on how to add a Swift Package dependency.\n2. Use `https://github.com/hyperdevs-team/PrettyLogger` as the repository URL.\n3. Specify the version to be at least `3.0.0`.\n\n## Usage\n### Print messages\nTo print a message in the console you simply use any of the global functions:\n```swift\n  logWarning(\"This a warning!!\")\n  logError(\"This is showed as error\")\n  logFatal(\"This is showed as fatal message\")\n  logInfo(\"This is an info message\")\n  logDebug(\"This is a debug message\")\n  logTrace(\"This is a trace info\")\n```\nThe previous example will print: \n```ogdl \n13:31:59.632 ◉ ⚠️⚠️⚠️ This a warning!! [File.swift:L109]\n13:31:59.639 ◉ ❌❌❌ This is showed as error [File.swift:L110]\n13:31:59.639 ◉ ☠️☠️☠️ This is showed as fatal message [File.swift:L111]\n13:31:59.639 ◉ 🔍 This is an info message [File.swift:L112]\n13:31:59.639 ◉ 🐛 This is a debug message [File.swift:L113]\n13:31:59.640 ◉ ✏️ This is a trace info [File.swift:L114]\n```\n### Level\nYou can silent all logs (or some, depending on level) by setting the property `level` on the shared instance:\n```swift\nPrettyLogger.shared.level = .all //To show all messages\nPrettyLogger.shared.level = .disable //To silent logger\nPrettyLogger.shared.level = .info //To show all message except debug \u0026 trace\n```\nThe available levels, in order, are: disable, fatal, error, warn, info, debug, trace \u0026 all \n### Global framework\nIf you want to import all functions in your project without import PrettyLogger in every file you could use this directive in your AppDelegate: \n```swift\n@_exported import PrettyLogger\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperdevs-team%2Fprettylogger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhyperdevs-team%2Fprettylogger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperdevs-team%2Fprettylogger/lists"}