{"id":20325918,"url":"https://github.com/e-sites/lithium","last_synced_at":"2025-03-04T10:40:22.544Z","repository":{"id":56919869,"uuid":"141716417","full_name":"e-sites/Lithium","owner":"e-sites","description":"_The_ E-sites logging framework","archived":false,"fork":false,"pushed_at":"2020-12-23T08:58:36.000Z","size":65,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-02-15T04:19:21.731Z","etag":null,"topics":["logging","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/e-sites.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2018-07-20T13:37:39.000Z","updated_at":"2020-12-13T17:46:38.000Z","dependencies_parsed_at":"2022-08-21T04:20:18.830Z","dependency_job_id":null,"html_url":"https://github.com/e-sites/Lithium","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e-sites%2FLithium","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e-sites%2FLithium/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e-sites%2FLithium/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e-sites%2FLithium/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/e-sites","download_url":"https://codeload.github.com/e-sites/Lithium/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241835250,"owners_count":20028136,"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":["logging","swift"],"created_at":"2024-11-14T19:42:16.459Z","updated_at":"2025-03-04T10:40:22.526Z","avatar_url":"https://github.com/e-sites.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Lithium](Assets/logo.png)\n\nLithium is part of the **[E-sites iOS Suite](https://github.com/e-sites/iOS-Suite)**.\n\n---\r\n\r\n_The_ E-sites logging framework.\n\r\n[![forthebadge](http://forthebadge.com/images/badges/made-with-swift.svg)](http://forthebadge.com) [![forthebadge](http://forthebadge.com/images/badges/built-with-swag.svg)](http://forthebadge.com)\r\n\r\n[![Travis-ci](https://travis-ci.org/e-sites/Lithium.svg?branch=master\u0026001)](https://travis-ci.org/e-sites/Lithium)\n\r\n\r\n# Installation\n\n## SwiftPM\n\n**package.swift** dependency:\n\n```swift\n.package(url: \"https://github.com/e-sites/lithium.git\", from: \"9.0.0\"),\n```\n\nand to your application/library target, add `\"Lithium\"` to your `dependencies`, e.g. like this:\n\n```swift\n.target(name: \"BestExampleApp\", dependencies: [\"Lithium\"]),\n```\n\n# Implementation\n\n## Initialization\n\n```swift\nimport Lithium\n\nlet logger: Logger = {\n    var ll = Logger(label: \"com.swift-log.awesome-app\")\n    ll.logLevel = .trace\n    return ll\n}()\n\n@UIApplicationMain\nclass AppDelegate: UIResponder, UIApplicationDelegate {\n\n    var window: UIWindow?\n\n    func application(_ application: UIApplication,\n                     didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -\u003e Bool {\n    \n\t\tLoggingSystem.bootstrap { label -\u003e LogHandler in\n\t\t\tvar lithiumLogger = LithiumLogger(label: label)\n\t\t\tlithiumLogger.theme = EmojiLogTheme()\n\t\t\treturn lithiumLogger\n\t\t}\n\t    \n\t\treturn true\n\t}\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fe-sites%2Flithium","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fe-sites%2Flithium","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fe-sites%2Flithium/lists"}