{"id":27977165,"url":"https://github.com/serokell/co-log-sys","last_synced_at":"2025-05-08T01:46:59.025Z","repository":{"id":62435729,"uuid":"156531031","full_name":"serokell/co-log-sys","owner":"serokell","description":"Syslog implementation on top of co-log-core","archived":false,"fork":false,"pushed_at":"2020-11-29T11:04:42.000Z","size":34,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":35,"default_branch":"master","last_synced_at":"2025-04-07T11:51:34.022Z","etag":null,"topics":["haskell","haskell-library","logging","logging-library","syslog"],"latest_commit_sha":null,"homepage":"","language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/serokell.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog.md","contributing":"docs/CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-11-07T10:39:59.000Z","updated_at":"2019-12-05T06:36:35.000Z","dependencies_parsed_at":"2022-11-01T21:30:31.531Z","dependency_job_id":null,"html_url":"https://github.com/serokell/co-log-sys","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serokell%2Fco-log-sys","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serokell%2Fco-log-sys/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serokell%2Fco-log-sys/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serokell%2Fco-log-sys/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/serokell","download_url":"https://codeload.github.com/serokell/co-log-sys/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252983736,"owners_count":21835762,"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":["haskell","haskell-library","logging","logging-library","syslog"],"created_at":"2025-05-08T01:46:58.417Z","updated_at":"2025-05-08T01:46:59.003Z","avatar_url":"https://github.com/serokell.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# co-log-sys\n\nThis is a logging library based on [`co-log-core`](https://github.com/kowainik/co-log/tree/master/co-log-core)\nthat implements a syslog backend.\n\nFor more info about how [`co-log`](https://github.com/kowainik/co-log/tree/master/co-log)\nworks we advise you to read [its presentation blogpost](https://kowainik.github.io/posts/2018-09-25-co-log).\n\nNOTE: It's somewhat opinionated in that:\n- it uses the `fmt` library for formatting\n- uses `universum` as a `Prelude` alternative\n\n## Example of usage [↑](#co-log-sys)\n\nThis is a simple example using the `withLogMessageSyslog` function:\n\n```haskell\nexample :: IO ()\nexample = withLogMessageSyslog basicSyslogConfig $ \\logMessageSyslog -\u003e do\n    let logMessageStdout = cmap fmtMessageFlat logTextStdout\n        logAction = logMessageSyslog \u003c\u003e logMessageStdout\n    unLogAction logAction $ Message Emergency \"NOTICE ME HERE\"\n  where\n    basicSyslogConfig = SyslogConfig\n        { collector = AutoLocal\n        , facility = User\n        , appName = \"example\"\n        }\n```\n\n## Contributions [↑](#co-log-sys)\n\nIf you'd like to contribute or file a Bug Report, please read our [Contributors Guide](docs/CONTRIBUTING.md).\n\n## License [↑](#co-log-sys)\n\n[MPL 2.0](LICENSE.md)\n\n## About Serokell [↑](#co-log-sys)\n\n`co-log-sys` is maintained and funded with :heart: by [Serokell](https://serokell.io/). The names and logo for Serokell are trademark of Serokell OÜ.\n\nWe love open source software! See [our other projects](https://serokell.io/community?utm_source=github) or [hire us](https://serokell.io/hire-us?utm_source=github) to design, develop and grow your idea!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fserokell%2Fco-log-sys","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fserokell%2Fco-log-sys","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fserokell%2Fco-log-sys/lists"}