{"id":18356087,"url":"https://github.com/paumava/carlog","last_synced_at":"2025-10-05T06:42:10.974Z","repository":{"id":57541237,"uuid":"436954442","full_name":"PauMAVA/carlog","owner":"PauMAVA","description":"Simple, lightweight crate that provides Cargo logging style messages","archived":false,"fork":false,"pushed_at":"2021-12-10T11:31:46.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T02:40:06.930Z","etag":null,"topics":["cargo","logging","rust"],"latest_commit_sha":null,"homepage":"https://docs.rs/carlog/latest/carlog/","language":"Rust","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/PauMAVA.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}},"created_at":"2021-12-10T11:27:04.000Z","updated_at":"2023-07-25T14:52:23.000Z","dependencies_parsed_at":"2022-09-26T18:30:44.493Z","dependency_job_id":null,"html_url":"https://github.com/PauMAVA/carlog","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/PauMAVA%2Fcarlog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PauMAVA%2Fcarlog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PauMAVA%2Fcarlog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PauMAVA%2Fcarlog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PauMAVA","download_url":"https://codeload.github.com/PauMAVA/carlog/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248142568,"owners_count":21054665,"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":["cargo","logging","rust"],"created_at":"2024-11-05T22:08:55.996Z","updated_at":"2025-10-05T06:42:05.938Z","avatar_url":"https://github.com/PauMAVA.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# carlog\r\n\r\n`carlog` is a simple, lightweight crate that provides Cargo logging style messages via the\r\n`Status` struct or via multiple macros that recreate common cargo message formats:\r\n * Cargo ok: `carlog_ok!`\r\n * Cargo info: `carlog_info!`\r\n * Cargo warning: `carlog_warning!`\r\n * Cargo error: `carlog_error!`\r\n \r\nThe crate provides support for logging to both stdout and stderr and to any stream that implements\r\n the `Write` trait.\r\n\r\n### Import\r\nAdd the following line to your `Cargo.toml`:\r\n```toml\r\ncarlog = \"0.1.0\"\r\n```\r\nThen import the prelude and the macros in your source file:\r\n```rust\r\n#[macro_use] extern crate carlog;\r\n\r\nuse carlog::prelude::*;\r\n```\r\n\r\n ### Example\r\n ```rust\r\n #[macro_use] extern crate carlog;\r\n\r\n use carlog::prelude::*;\r\n\r\n let status = Status::new().bold().justify().color(CargoColor::Green).status(\"Compiled\");\r\n status.print_stdout(\"carlog v0.1.0\");\r\n\r\n carlog_ok!(\"Compiled\", \"carlog v0.1.0\");\r\n ```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaumava%2Fcarlog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpaumava%2Fcarlog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaumava%2Fcarlog/lists"}