{"id":22093207,"url":"https://github.com/iadvize/swift-graylog","last_synced_at":"2025-07-24T20:32:34.766Z","repository":{"id":62456515,"uuid":"157507208","full_name":"iadvize/swift-graylog","owner":"iadvize","description":"Graylog library written in Swift.","archived":false,"fork":false,"pushed_at":"2019-12-09T09:52:37.000Z","size":30433,"stargazers_count":10,"open_issues_count":0,"forks_count":3,"subscribers_count":23,"default_branch":"master","last_synced_at":"2024-09-17T18:52:48.266Z","etag":null,"topics":["graylog","ios","library","logger","logs","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/iadvize.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-11-14T07:16:33.000Z","updated_at":"2023-06-21T07:42:53.000Z","dependencies_parsed_at":"2022-11-01T22:46:30.436Z","dependency_job_id":null,"html_url":"https://github.com/iadvize/swift-graylog","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iadvize%2Fswift-graylog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iadvize%2Fswift-graylog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iadvize%2Fswift-graylog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iadvize%2Fswift-graylog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iadvize","download_url":"https://codeload.github.com/iadvize/swift-graylog/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227476010,"owners_count":17779417,"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":["graylog","ios","library","logger","logs","swift"],"created_at":"2024-12-01T03:13:16.786Z","updated_at":"2024-12-01T03:13:17.342Z","avatar_url":"https://github.com/iadvize.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![CircleCI](https://circleci.com/gh/iadvize/swift-graylog.svg?style=svg)](https://circleci.com/gh/iadvize/swift-graylog)\n\n# SwiftGraylog\n\nGraylog library written in Swift.\n\n## Compatibility\n\n|   Version    | Minimum iOS Version | Swift Version |\n| :----------: | :-----------------: | :-----------: |\n| 1.1.0, 1.1.1 |       iOS 8.0       |    Swift 5    |\n|    1.0.0     |       iOS 8.0       |    Swift 4    |\n\n## Documentation\n\nFirst you have to define your Graylog server URL:\n\n```swift\nif let url = URL(string: \"https://yourgraylog.com/gelf\") {\n    Graylog.setURL(url)\n}\n```\n\nThen you can send log to Graylog using the `log` method by passing a dictionary which represents your JSON payload:\n\n```swift\nGraylog.log([\"message\": \"Hello Graylog!\"])\n```\n\nHere is a list of available fields in Graylog: [Graylog Documentation](http://docs.graylog.org/en/2.4/pages/gelf.html)\n\nIf an issue is thrown while sending a log, a message will be printed in the Xcode console. The framework stores logs locally in the user preferences and retry the failed one each 60 seconds.\n\n## Installation\n\n### Cocoapods\n\nAdd the dependency to your Podfile:\n\n```\npod 'SwiftGraylog'\n```\n\nand use `import SwiftGraylog` where you want to use it.\n\n## Contribute\n\nLook at contribution guidelines here: [CONTRIBUTING.md](CONTRIBUTING.md)\n\nOnce you've forked the repository you should  `pod install` at the root of the repository and open the `SwiftGraylog.xcworkspace` workspace.\n\nN.B. You have access to template files for Pull Requests and Issues opening:\n\n- [ISSUE_TEMPLATE.md](ISSUE_TEMPLATE.md)\n- [PULL_REQUEST_TEMPLATE.md](PULL_REQUEST_TEMPLATE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiadvize%2Fswift-graylog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiadvize%2Fswift-graylog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiadvize%2Fswift-graylog/lists"}