{"id":25827021,"url":"https://github.com/guangie88/vlog-rs","last_synced_at":"2026-06-16T09:31:36.764Z","repository":{"id":57671708,"uuid":"129515555","full_name":"guangie88/vlog-rs","owner":"guangie88","description":"Macros to do stdout / stderr logs based on verbosity level","archived":false,"fork":false,"pushed_at":"2018-05-09T00:19:03.000Z","size":21,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-29T22:03:59.231Z","etag":null,"topics":["cli","log","rust","verbosity-level"],"latest_commit_sha":null,"homepage":null,"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/guangie88.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":"2018-04-14T12:37:47.000Z","updated_at":"2018-05-09T00:18:04.000Z","dependencies_parsed_at":"2022-08-30T14:41:24.937Z","dependency_job_id":null,"html_url":"https://github.com/guangie88/vlog-rs","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/guangie88/vlog-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guangie88%2Fvlog-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guangie88%2Fvlog-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guangie88%2Fvlog-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guangie88%2Fvlog-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/guangie88","download_url":"https://codeload.github.com/guangie88/vlog-rs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guangie88%2Fvlog-rs/sbom","scorecard":{"id":447767,"data":{"date":"2025-08-11","repo":{"name":"github.com/guangie88/vlog-rs","commit":"c47d739c9c443bdafc666c9b35e9ea8a15c74ab3"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.2,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 0/10 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: containerImage not pinned by hash: Dockerfile-lint-test:1: pin your Docker image by updating guangie88/rustfmt-clippy:1.27.0-nightly to guangie88/rustfmt-clippy:1.27.0-nightly@sha256:d413d93d24c0a1c82b4e741443c3dc2e2e12e3e77edab408bd32274cc589112f","Info:   0 out of   1 containerImage dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 9 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-19T07:20:11.933Z","repository_id":57671708,"created_at":"2025-08-19T07:20:11.934Z","updated_at":"2025-08-19T07:20:11.934Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34400451,"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-16T02:00:06.860Z","response_time":126,"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":["cli","log","rust","verbosity-level"],"created_at":"2025-02-28T15:52:09.874Z","updated_at":"2026-06-16T09:31:36.747Z","avatar_url":"https://github.com/guangie88.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vlog-rs\n\n[![Build Status](https://travis-ci.org/guangie88/vlog-rs.svg?branch=master)](https://travis-ci.org/guangie88/vlog-rs)\n[![Build status](https://ci.appveyor.com/api/projects/status/65p683ppij588sv8/branch/master?svg=true)](https://ci.appveyor.com/project/guangie88/vlog-rs/branch/master)\n[![codecov](https://codecov.io/gh/guangie88/vlog-rs/branch/master/graph/badge.svg)](https://codecov.io/gh/guangie88/vlog-rs)\n[![Crates.io](https://img.shields.io/crates/v/vlog.svg)](https://crates.io/crates/vlog)\n[![Docs.rs](https://docs.rs/vlog/badge.svg)](https://docs.rs/vlog)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\nMacros to do stdout / stderr logs based on verbosity level, which take in the\nsame arguments as\n[`println!`](https://doc.rust-lang.org/1.0.0/std/macro.println!.html) macro.\n\nUseful for CLI applications. The default verbosity level is 0, and the supported\nmax verbosity level is 3, which is equivalent to `-vvv` flags as seen in most\nLinux CLI applications.\n\n## Example\n\n```rust\n#[macro_use]\nextern crate vlog;\n\nuse vlog::{get_verbosity_level, set_verbosity_level};\n\nfn main() {\n    // default verbosity level is 0\n    assert_eq!(0, get_verbosity_level());\n\n    v0!(\"v0 stdout prints\");\n    v1!(\"v1 stdout won't print\");\n    v2!(\"v2 stdout won't print\");\n    v3!(\"v3 stdout won't print\");\n\n    // set custom verbosity level\n    set_verbosity_level(1);\n    assert_eq!(1, get_verbosity_level());\n\n    v0!(\"{} stdout prints\", \"v0\");\n    v1!(\"{} stdout prints\", \"v1\");\n    v2!(\"{} stdout won't print\", \"v2\");\n    v3!(\"{} stdout won't print\", \"v3\");\n\n    // set custom max verbosity level\n    set_verbosity_level(3);\n    assert_eq!(3, get_verbosity_level());\n\n    v0!(\"{} stdout prints\", \"v0\");\n    v1!(\"{} stdout prints\", \"v1\");\n    v2!(\"{} stdout prints\", \"v2\");\n    v3!(\"{} stdout prints\", \"v3\");\n\n    // stderr macros also available\n    ve0!(\"{} stderr prints\", \"ve0\");\n    ve1!(\"{} stderr prints\", \"ve1\");\n    ve2!(\"{} stderr prints\", \"ve2\");\n    ve3!(\"{} stderr prints\", \"ve3\");\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguangie88%2Fvlog-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguangie88%2Fvlog-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguangie88%2Fvlog-rs/lists"}