{"id":16928705,"url":"https://github.com/dogedark/dioxus-logger","last_synced_at":"2025-03-17T07:31:54.628Z","repository":{"id":62754271,"uuid":"562264946","full_name":"DogeDark/dioxus-logger","owner":"DogeDark","description":"A logging utility to provide a standard interface whether you're targetting web desktop, fullstack, and more.","archived":true,"fork":false,"pushed_at":"2024-12-07T04:24:34.000Z","size":27,"stargazers_count":19,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-19T04:54:53.007Z","etag":null,"topics":["dioxus","logging"],"latest_commit_sha":null,"homepage":"","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/DogeDark.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-11-05T19:57:50.000Z","updated_at":"2024-12-07T04:35:04.000Z","dependencies_parsed_at":"2024-04-17T02:38:55.284Z","dependency_job_id":"fc168f06-ddf6-4f93-8739-fead37eb3819","html_url":"https://github.com/DogeDark/dioxus-logger","commit_stats":{"total_commits":14,"total_committers":1,"mean_commits":14.0,"dds":0.0,"last_synced_commit":"2238884760afaa20695f503d2d9608a041b706df"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DogeDark%2Fdioxus-logger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DogeDark%2Fdioxus-logger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DogeDark%2Fdioxus-logger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DogeDark%2Fdioxus-logger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DogeDark","download_url":"https://codeload.github.com/DogeDark/dioxus-logger/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243992378,"owners_count":20380194,"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":["dioxus","logging"],"created_at":"2024-10-13T20:37:28.002Z","updated_at":"2025-03-17T07:31:54.623Z","avatar_url":"https://github.com/DogeDark.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e [!WARNING]\n\u003e Dioxus Logger has been inlined with the main [Dioxus repository](https://github.com/DioxusLabs/dioxus/tree/main/packages/logger). The crate itself, `dioxus-logger`, has not changed. This repository is now an archive of my ([@DogeDark](https://github.com/DogeDark)) first open-source project ❤️.\n\n\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003e📡 Dioxus Logger 🛰️\u003c/h1\u003e\n  \u003cp\u003e\u003cstrong\u003eA logging utility to provide a standard interface whether you're targetting web, desktop, fullstack, and more.\u003c/strong\u003e\u003c/p\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003c!-- Crates version --\u003e\n  \u003ca href=\"https://crates.io/crates/dioxus-logger\"\u003e\n    \u003cimg src=\"https://img.shields.io/crates/v/dioxus-logger.svg?style=flat-square\"\n    alt=\"Crates.io version\" /\u003e\n  \u003c/a\u003e\n  \u003c!-- Downloads --\u003e\n  \u003ca href=\"https://crates.io/crates/dioxus-logger\"\u003e\n    \u003cimg src=\"https://img.shields.io/crates/d/dioxus-logger.svg?style=flat-square\"\n      alt=\"Download\" /\u003e\n  \u003c/a\u003e\n  \u003c!-- docs --\u003e\n  \u003ca href=\"https://docs.rs/dioxus-logger\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/docs-latest-blue.svg?style=flat-square\"\n      alt=\"docs.rs docs\" /\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\n-----\n\n`dioxus-logger` is a basic cross-platform facade for logging in [Dioxus](https://dioxuslabs.com/) that uses the [tracing](https://crates.io/crates/tracing) crate.\n\n\n```rust\nuse dioxus::prelude::*;\nuse dioxus_logger::tracing::{Level, info};\n \nfn main() {\n  dioxus_logger::init(Level::INFO).expect(\"logger failed to init\");\n  launch(App);\n}\n\n#[component]\nfn App() -\u003e Element {\n  info!(\"App rendered\");\n  rsx! {\n    p { \"hi\" }\n  }\n}\n```\n\n## Platform Support\nDioxus logger will eventually support every target that Dioxus does. Currently mobile and TUI are not supported.\n\n## Installation\nYou can add `dioxus-logger` to your application by adding it to your dependencies.\n```toml\n[dependencies]\ndioxus-logger = \"0.5\"\n```\n\n\n## License\nThis project is licensed under the [MIT license].\n\n[mit license]: ./LICENSE\n\nEvery contribution intentionally submitted for inclusion in `dioxus-logger` by you, shall be licensed as MIT, without any additional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdogedark%2Fdioxus-logger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdogedark%2Fdioxus-logger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdogedark%2Fdioxus-logger/lists"}