{"id":20071920,"url":"https://github.com/imotai/uselog_rs","last_synced_at":"2026-06-08T06:31:59.220Z","repository":{"id":147604124,"uuid":"475374814","full_name":"imotai/uselog_rs","owner":"imotai","description":"use log for outputing log in test and not test mode  with one line code","archived":false,"fork":false,"pushed_at":"2022-03-29T10:42:18.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-30T15:38:38.081Z","etag":null,"topics":["log","println","rust","unittests"],"latest_commit_sha":null,"homepage":"https://docs.rs/uselog-rs","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/imotai.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":"2022-03-29T09:39:12.000Z","updated_at":"2022-03-29T10:39:59.000Z","dependencies_parsed_at":"2023-05-31T18:30:37.958Z","dependency_job_id":null,"html_url":"https://github.com/imotai/uselog_rs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/imotai/uselog_rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imotai%2Fuselog_rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imotai%2Fuselog_rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imotai%2Fuselog_rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imotai%2Fuselog_rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imotai","download_url":"https://codeload.github.com/imotai/uselog_rs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imotai%2Fuselog_rs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34051768,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["log","println","rust","unittests"],"created_at":"2024-11-13T14:32:52.767Z","updated_at":"2026-06-08T06:31:59.186Z","avatar_url":"https://github.com/imotai.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# uselog_rs\n\nbefore using `uselog_rs`, you must use four lines code to use log for outputing log in `test mode` and `not test mode`\n\n```\n#[cfg(not(test))]\nuse log::{debug, info, warn};\n#[cfg(test)]\nuse std::{println as debug, println as info, println as warn};\n```\nnow just one line code \n\n```\nuselog!(debug, info, warn)\n```\n\nbut you need to add `uselog_rs` to your parent module first like\n```\n#[macro_use(uselog)]\nextern crate uselog_rs;\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimotai%2Fuselog_rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimotai%2Fuselog_rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimotai%2Fuselog_rs/lists"}