{"id":13648744,"url":"https://github.com/yewstack/web_logger","last_synced_at":"2025-12-12T15:02:02.160Z","repository":{"id":57672051,"uuid":"132956407","full_name":"yewstack/web_logger","owner":"yewstack","description":"Rust Logger for Web Browsers","archived":false,"fork":false,"pushed_at":"2020-05-02T18:12:19.000Z","size":6,"stargazers_count":20,"open_issues_count":4,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-08-31T16:40:32.572Z","etag":null,"topics":["wasm"],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yewstack.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-05-10T21:31:12.000Z","updated_at":"2024-03-24T20:37:26.000Z","dependencies_parsed_at":"2022-08-30T12:00:23.136Z","dependency_job_id":null,"html_url":"https://github.com/yewstack/web_logger","commit_stats":null,"previous_names":["deniskolodin/web-logger"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/yewstack/web_logger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yewstack%2Fweb_logger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yewstack%2Fweb_logger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yewstack%2Fweb_logger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yewstack%2Fweb_logger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yewstack","download_url":"https://codeload.github.com/yewstack/web_logger/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yewstack%2Fweb_logger/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273430350,"owners_count":25104479,"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","status":"online","status_checked_at":"2025-09-03T02:00:09.631Z","response_time":76,"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":["wasm"],"created_at":"2024-08-02T01:04:30.141Z","updated_at":"2025-12-12T15:02:01.747Z","avatar_url":"https://github.com/yewstack.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# web_logger\n\nImplements a logger that can be used in web browsers.\n\n## Usage\n\n### In libraries\n\nNot required. Libraries should use the [`log`](https://doc.rust-lang.org/log) crate instead.\n\n### In executables\n\nIt must be added along with `log` to the project dependencies:\n\n```toml\n[dependencies]\nlog = \"0.4\"\nweb_logger = \"0.2\"\n```\n\n`web_logger` must be initialized as early as possible in the project.\nAfter it's initialized, you can use the `log` macros to do actual logging.\n\n```rust\n#[macro_use]\nextern crate log;\nextern crate web_logger;\n\nfn main() {\n    web_logger::init();\n\n    info!(\"starting up\");\n\n    // ...\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyewstack%2Fweb_logger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyewstack%2Fweb_logger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyewstack%2Fweb_logger/lists"}