{"id":16348836,"url":"https://github.com/sleibrock/racket-papertrail","last_synced_at":"2026-01-27T15:01:48.567Z","repository":{"id":110072302,"uuid":"186891631","full_name":"sleibrock/racket-papertrail","owner":"sleibrock","description":"Send syslog messages to Papertrail from Racket","archived":false,"fork":false,"pushed_at":"2021-03-02T02:57:53.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-19T11:11:25.994Z","etag":null,"topics":["logging","papertrail","racket"],"latest_commit_sha":null,"homepage":null,"language":"Racket","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/sleibrock.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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-05-15T19:38:54.000Z","updated_at":"2021-03-02T02:57:55.000Z","dependencies_parsed_at":"2023-04-03T16:50:24.108Z","dependency_job_id":null,"html_url":"https://github.com/sleibrock/racket-papertrail","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sleibrock/racket-papertrail","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sleibrock%2Fracket-papertrail","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sleibrock%2Fracket-papertrail/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sleibrock%2Fracket-papertrail/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sleibrock%2Fracket-papertrail/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sleibrock","download_url":"https://codeload.github.com/sleibrock/racket-papertrail/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sleibrock%2Fracket-papertrail/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28815385,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T12:25:15.069Z","status":"ssl_error","status_checked_at":"2026-01-27T12:25:05.297Z","response_time":168,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["logging","papertrail","racket"],"created_at":"2024-10-11T00:55:20.200Z","updated_at":"2026-01-27T15:01:48.561Z","avatar_url":"https://github.com/sleibrock.png","language":"Racket","funding_links":[],"categories":[],"sub_categories":[],"readme":"# racket-papertrail - a Papertrail Racket library \n\nA [Papertrail](https://papertrailapp.com/) library for [Racket](https://racket-lang.org/).\n\n![a dummy papertrail demo image](https://raw.githubusercontent.com/sleibrock/racket-papertrail/master/images/sample.png)\n\n## About\n\nPapertrail is a service used to capture your program's/system's log messages and store them in an easy-to-access place. They use the [syslog](https://en.wikipedia.org/wiki/Syslog) standard to capture messages from servers or programs, and have written a service in Go called [remote_syslog2](https://github.com/papertrail/remote_syslog2). However, sometimes you don't always want to interop with your application's server and just want to capture data from the local program.\n\nThe aim of `racket-papertrail` is to send log messages from a Racket application to a target Papertrail destination sink. It can also send data to an output port like STDIN (if you modify the `current-output-port` parameter) so it can perform logging locally and remotely to Papertrail.\n\n## Installing\n\n`papertrail.rkt` can be installed through the standard Racket package manager `raco`.\n\n\n## Using Papertrail\n\nCreate a new `paper` struct with `new-papertrail`, then initialize a logger through `create-paper-logger`.\n```\n(require papertrail)\n\n(define p (new-papertrail \"logs4.papertrailapp.com\" 12345 \"racket\"))\n(define log (create-paper-logger p))\n\n(log \"Hello world!\")\n(log \"This is a fatal warning\" \"FATAL\")\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsleibrock%2Fracket-papertrail","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsleibrock%2Fracket-papertrail","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsleibrock%2Fracket-papertrail/lists"}