{"id":15323303,"url":"https://github.com/krishpranav/rustlog","last_synced_at":"2026-01-07T07:12:39.606Z","repository":{"id":47263058,"uuid":"515988919","full_name":"krishpranav/rustlog","owner":"krishpranav","description":"A cool log library built using rust-lang","archived":false,"fork":false,"pushed_at":"2022-07-20T13:47:53.000Z","size":12,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-04T13:46:30.080Z","etag":null,"topics":["cargo","crate","git","library","log","logger","logging","rust","rustlang"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/krishpranav.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":"2022-07-20T13:15:38.000Z","updated_at":"2022-07-21T03:52:01.000Z","dependencies_parsed_at":"2022-09-06T16:30:13.253Z","dependency_job_id":null,"html_url":"https://github.com/krishpranav/rustlog","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/krishpranav%2Frustlog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krishpranav%2Frustlog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krishpranav%2Frustlog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krishpranav%2Frustlog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/krishpranav","download_url":"https://codeload.github.com/krishpranav/rustlog/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245898331,"owners_count":20690466,"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","crate","git","library","log","logger","logging","rust","rustlang"],"created_at":"2024-10-01T09:19:30.737Z","updated_at":"2026-01-07T07:12:39.573Z","avatar_url":"https://github.com/krishpranav.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"## RustLog \n\n- A cool log library built using rust-lang\n\n## Installation:\n- Cargo.toml\n```toml\nrustlog = { git = \"https://github.com/krishpranav/rustlog\" }\nlog = \"0.4.17\"\n```\n\n## Usage:\n- trace log:\n```rust\n#[macro_use]\nextern crate log;\nextern crate rustlog;\n\nfn main() {\n    rustlog::init_from_env(\"LOG_LEVEL\");\n    trace!(\"Trace details\");\n}\n```\n\n- debug log:\n```rust\n#[macro_use]\nextern crate log;\nextern crate rustlog;\n\nfn main() {\n    rustlog::init_from_env(\"LOG_LEVEL\");\n    debug!(\"Debug details.\");\n}\n```\n\n- info log:\n```rust\n#[macro_use]\nextern crate log;\nextern crate rustlog;\n\nfn main() {\n    rustlog::init_from_env(\"LOG_LEVEL\");\n    info!(\"information.\");\n}\n```\n\n- warn log:\n```rust\n#[macro_use]\nextern crate log;\nextern crate rustlog;\n\nfn main() {\n    rustlog::init_from_env(\"LOG_LEVEL\");\n    warn!(\"warning.\");\n}\n```\n\n- error log:\n```rust\n#[macro_use]\nextern crate log;\nextern crate rustlog;\n\nfn main() {\n    rustlog::init_from_env(\"LOG_LEVEL\");\n    error!(\"errorr!!!!!.\");\n}\n```\n\n## License:\n- rustlog is licensed under [GPL-2.0 License](https://github.com/krishpranav/rustlog/blob/master/LICENSE)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrishpranav%2Frustlog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkrishpranav%2Frustlog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrishpranav%2Frustlog/lists"}