{"id":13595233,"url":"https://github.com/chrivers/rust-colog","last_synced_at":"2025-03-17T03:30:40.332Z","repository":{"id":47103974,"uuid":"70852203","full_name":"chrivers/rust-colog","owner":"chrivers","description":"A simple color-coded logging implementation for the standard rust logging system","archived":false,"fork":false,"pushed_at":"2024-03-23T09:35:39.000Z","size":53,"stargazers_count":30,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-24T18:23:46.106Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chrivers.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2016-10-13T22:10:32.000Z","updated_at":"2024-06-14T21:57:02.008Z","dependencies_parsed_at":"2024-01-14T10:59:33.858Z","dependency_job_id":"91ac6881-fd8d-4240-86ab-e7e0d5611825","html_url":"https://github.com/chrivers/rust-colog","commit_stats":{"total_commits":28,"total_committers":2,"mean_commits":14.0,"dds":0.25,"last_synced_commit":"6000796e115a7b26b5a034f7c48b30ea92316573"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrivers%2Frust-colog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrivers%2Frust-colog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrivers%2Frust-colog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrivers%2Frust-colog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chrivers","download_url":"https://codeload.github.com/chrivers/rust-colog/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243841204,"owners_count":20356441,"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":[],"created_at":"2024-08-01T16:01:46.105Z","updated_at":"2025-03-17T03:30:40.087Z","avatar_url":"https://github.com/chrivers.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# Simple colored logger for rust #\n\nThe `colog` library is a simple formatter backend for the standard\nrust logging system (in the `log` crate).\n\n## Getting started ##\n\n```rust\nuse log::{error, warn, info, debug, trace};\n\nfn main() {\n    // Quick start: use default initialization\n    colog::init();\n\n    error!(\"error message\");\n    error!(\"error with fmt: {}\", 42);\n    warn!(\"warn message\");\n    info!(\"info message\");\n    debug!(\"debug message\");\n    trace!(\"trace message\");\n\n    info!(\"multi line demonstration\\nhere\");\n    info!(\"more\\nmulti\\nline\\nhere\\nhere\");\n}\n```\n\nThis results in the following terminal output:\n\n![demo screenshot from terminal](https://raw.githubusercontent.com/chrivers/rust-colog/master/screenshot.png)\n\n## Custom styling ##\n\nIt's possible to override all colors and styles of `colog`.\n\nSee the following examples:\n\n - [examples/custom-level-colors.rs](examples/custom-level-colors.rs)\n - [examples/custom-level-tokens.rs](examples/custom-level-tokens.rs)\n - [examples/custom-level-prefix.rs](examples/custom-level-prefix.rs)\n\nAlso be sure to read the documentation (`cargo doc --open`) for a detailed description.\n\n## Known issues and improvements ##\n\nThere are no known, serious, unsolved issues.\n\nPatches welcome :)\n\n## License ##\n\nThis project is licensed under the LGPLv3. See the file `LICENSE` for\ndetails.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrivers%2Frust-colog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchrivers%2Frust-colog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrivers%2Frust-colog/lists"}