{"id":19721355,"url":"https://github.com/meinside/loggly-go","last_synced_at":"2025-08-23T18:04:34.522Z","repository":{"id":57490124,"uuid":"90815951","full_name":"meinside/loggly-go","owner":"meinside","description":"A Go library for Loggly","archived":false,"fork":false,"pushed_at":"2019-03-04T01:07:10.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-10T16:18:39.391Z","etag":null,"topics":["golang","loggly"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/meinside.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-10T03:15:25.000Z","updated_at":"2019-03-04T01:07:12.000Z","dependencies_parsed_at":"2022-09-02T12:00:56.385Z","dependency_job_id":null,"html_url":"https://github.com/meinside/loggly-go","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meinside%2Floggly-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meinside%2Floggly-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meinside%2Floggly-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meinside%2Floggly-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/meinside","download_url":"https://codeload.github.com/meinside/loggly-go/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241044119,"owners_count":19899477,"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":["golang","loggly"],"created_at":"2024-11-11T23:14:04.557Z","updated_at":"2025-02-27T18:25:09.203Z","avatar_url":"https://github.com/meinside.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# loggly-go\n\nA Go library for [Loggly](https://www.loggly.com/).\n\n## How to get it\n\n```bash\n$ go get github.com/meinside/loggly-go\n```\n\n## How to use it\n\n```go\n// sample.go\npackage main\n\nimport (\n\t\"time\"\n\n\t\"github.com/meinside/loggly-go\"\n)\n\nfunc main() {\n\tlogger := loggly.New(\"XXXXXX-0000-YYYY-ZZZZ-0000000000000\")\n\n\ttime.Sleep(1 * time.Second)\t// wait for the logger getting ready\n\n\t// can log any type of variable\n\tlogger.Log(\"Hello loggly.\")\t// a string,\n\tfor i := 0; i \u003c 42; i++ {\n\t\tlogger.Log(i)\t// a number,\n\t}\n\tlogger.Log(struct {\n\t\tSeverity string `json:\"severity\"`\n\t\tMessage  string `json:\"message\"`\n\t}{\n\t\tSeverity: \"WARN\",\n\t\tMessage:  \"This is a warning.\",\n\t})\t// or even a struct\n\n\t// XXX - wait until all logs are transfered\n\ttime.Sleep(40 * time.Second)\n}\n```\n\n## License\n\nMIT\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeinside%2Floggly-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmeinside%2Floggly-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeinside%2Floggly-go/lists"}