{"id":17384252,"url":"https://github.com/bkahlert/logr","last_synced_at":"2026-01-19T05:33:34.627Z","repository":{"id":42195433,"uuid":"413272898","full_name":"bkahlert/logr","owner":"bkahlert","description":"Logr is a logger written for the Bourne Again SHell — Bash, with a certain focus on aesthetics.","archived":false,"fork":false,"pushed_at":"2023-04-05T01:58:15.000Z","size":507,"stargazers_count":3,"open_issues_count":5,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-12T20:32:37.889Z","etag":null,"topics":["bash","container","docker","linux","logger","logging","shell","terminal"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/bkahlert.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"custom":"paypal.me/bkahlert"}},"created_at":"2021-10-04T04:25:56.000Z","updated_at":"2022-12-11T11:36:08.000Z","dependencies_parsed_at":"2025-02-12T20:40:25.553Z","dependency_job_id":null,"html_url":"https://github.com/bkahlert/logr","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bkahlert%2Flogr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bkahlert%2Flogr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bkahlert%2Flogr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bkahlert%2Flogr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bkahlert","download_url":"https://codeload.github.com/bkahlert/logr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247493641,"owners_count":20947745,"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":["bash","container","docker","linux","logger","logging","shell","terminal"],"created_at":"2024-10-16T07:44:57.413Z","updated_at":"2026-01-19T05:33:34.589Z","avatar_url":"https://github.com/bkahlert.png","language":"Shell","funding_links":["paypal.me/bkahlert","https://www.paypal.me/bkahlert"],"categories":[],"sub_categories":[],"readme":"# logr [![Build Status](https://img.shields.io/github/workflow/status/bkahlert/logr/build?label=Build\u0026logo=github\u0026logoColor=fff)](https://github.com/bkahlert/logr/actions/workflows/build.yml) [![Repository Size](https://img.shields.io/github/repo-size/bkahlert/logr?color=01818F\u0026label=Repo%20Size\u0026logo=Git\u0026logoColor=fff)](https://github.com/bkahlert/logr) [![Repository Size](https://img.shields.io/github/license/bkahlert/logr?color=29ABE2\u0026label=License\u0026logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1OTAgNTkwIiAgeG1sbnM6dj0iaHR0cHM6Ly92ZWN0YS5pby9uYW5vIj48cGF0aCBkPSJNMzI4LjcgMzk1LjhjNDAuMy0xNSA2MS40LTQzLjggNjEuNC05My40UzM0OC4zIDIwOSAyOTYgMjA4LjljLTU1LjEtLjEtOTYuOCA0My42LTk2LjEgOTMuNXMyNC40IDgzIDYyLjQgOTQuOUwxOTUgNTYzQzEwNC44IDUzOS43IDEzLjIgNDMzLjMgMTMuMiAzMDIuNCAxMy4yIDE0Ny4zIDEzNy44IDIxLjUgMjk0IDIxLjVzMjgyLjggMTI1LjcgMjgyLjggMjgwLjhjMCAxMzMtOTAuOCAyMzcuOS0xODIuOSAyNjEuMWwtNjUuMi0xNjcuNnoiIGZpbGw9IiNmZmYiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSIxOS4yMTIiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz48L3N2Zz4%3D)](https://github.com/bkahlert/logr/blob/master/LICENSE)\n\n## About\n**Logr** is a logger written for the Bourne Again SHell — Bash, with a certain focus on aesthetics. \n\n[![recorded terminal session demonstrating the logr function](docs/logr.svg \"logr function\")  \n***logr** function*](../../raw/master/docs/logr.svg)\n\n[![recorded terminal session demonstrating the prompt4 function](docs/prompt4.svg \"prompt4 function\")  \n***prompt4** function*](../../raw/master/docs/prompt4.svg)\n\n[![recorded terminal session demonstrating the banr utilities](docs/utilities/banr.svg \"banr utilities\")  \n***banr** utilities*](../../raw/master/docs/utilities/banr.svg)\n\n[![recorded terminal session demonstrating the tracr utilities](docs/utilities/tracr.svg \"tracr utilities\")  \n***tracr** utilities*](../../raw/master/docs/utilities/tracr.svg)\n\n[![recorded terminal session demonstrating the misc utilities](docs/utilities/util.svg \"misc utilities\")  \n***misc** utilities*](../../raw/master/docs/utilities/util.svg)\n\n## Installation\n\n`logr` is a Bash library. \n\nIn order to use it, it needs to be downloaded and put on your `$PATH`\nwhich is exactly what the following line is doing:\n```shell\nsudo curl -LfsSo /usr/local/bin/logr.sh https://raw.githubusercontent.com/bkahlert/logr/master/logr.sh\n```\n\n## Usage\n\n```shell\n# logr.sh needs to be sourced to be used\nsource logr.sh\n\n# sample calls\nlogr info \"logr.sh sourced\"\nlogr task \"do some work\" -- sleep 2\n```\n\n```shell\n# invoke as binary for a feature overview\nchmod +x logr.sh\n./logr.sh\n\n# help\n./logr.sh --help\n```\n\n\n## Testing\n\n```shell\ngit clone https://github.com/bkahlert/logr.git\ncd logr\n\n# Use Bats wrapper to run tests\ncurl -LfsS https://git.io/batsw | \"$SHELL\" -s -- test\n```\n\n[Bats Wrapper](https://github.com/bkahlert/bats-wrapper) is a self-contained wrapper to run tests based on the \nBash testing framework [Bats](https://github.com/bats-core/bats-core).\n\n\u003e 💡 To accelerate testing, the Bats Wrapper checks if any test is prefixed with a capital X and if so, only runs those tests.\n\n\n## Contributing\n\nWant to contribute? Awesome! The most basic way to show your support is to star the project, or to raise issues. You\ncan also support this project by making\na [PayPal donation](https://www.paypal.me/bkahlert) to ensure this journey continues indefinitely!\n\nThanks again for your support, it is much appreciated! :pray:\n\n\n## License\n\nMIT. See [LICENSE](LICENSE) for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbkahlert%2Flogr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbkahlert%2Flogr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbkahlert%2Flogr/lists"}