{"id":14961801,"url":"https://github.com/jdno/godot-logger","last_synced_at":"2025-09-09T16:35:33.367Z","repository":{"id":38203105,"uuid":"410225307","full_name":"jdno/godot-logger","owner":"jdno","description":"A logger for godot-rust projects","archived":false,"fork":false,"pushed_at":"2025-06-26T07:51:24.000Z","size":105,"stargazers_count":13,"open_issues_count":4,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-26T23:46:23.441Z","etag":null,"topics":["godot-engine","hacktoberfest","logging","rust"],"latest_commit_sha":null,"homepage":"","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/jdno.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null}},"created_at":"2021-09-25T09:05:08.000Z","updated_at":"2025-04-29T08:49:09.000Z","dependencies_parsed_at":"2024-02-02T14:45:33.102Z","dependency_job_id":"1d12bcb0-474b-4811-99b1-84a05a4b67f5","html_url":"https://github.com/jdno/godot-logger","commit_stats":{"total_commits":73,"total_committers":3,"mean_commits":"24.333333333333332","dds":"0.31506849315068497","last_synced_commit":"fb0a4e7385942142dae816181a17e81f55ba6f2f"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/jdno/godot-logger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdno%2Fgodot-logger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdno%2Fgodot-logger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdno%2Fgodot-logger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdno%2Fgodot-logger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jdno","download_url":"https://codeload.github.com/jdno/godot-logger/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdno%2Fgodot-logger/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267959751,"owners_count":24172474,"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-07-30T02:00:09.044Z","response_time":70,"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":["godot-engine","hacktoberfest","logging","rust"],"created_at":"2024-09-24T13:27:47.490Z","updated_at":"2025-07-30T23:03:12.284Z","avatar_url":"https://github.com/jdno.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# godot-logger\n\n[![Crates.io](https://img.shields.io/crates/v/godot-logger)](https://crates.io/crates/godot-logger)\n[![docs.rs](https://img.shields.io/docsrs/godot-logger)](https://docs.rs/godot-logger)\n[![GitHub branch checks state](https://img.shields.io/github/checks-status/jdno/godot-logger/main)](https://github.com/jdno/godot-logger/actions)\n\n_A logger for [godot-rust] projects_\n\n`godot-logger` is an easy-to-use logger for [godot-rust] projects. It prints\nlogs to Godot's output console and supports module-specific log levels.\n\n## Usage\n\nStart by adding [`godot-logger`] and [`log`] as dependencies to your project's\n`Cargo.toml`.\n\n```toml\n[dependencies]\ngodot-logger = \"1.1.0\"\nlog = \"0.4\"\n```\n\nThen configure and initialize the logger in the `init` method that is passed to\n`godot_init!`.\n\n```rust\nuse gdnative::prelude::*;\nuse godot_logger::GodotLogger;\nuse log::{Level, LevelFilter};\n\nfn init(handle: InitHandle) {\n    if let Err(error) = GodotLogger::builder()\n        .default_log_level(Level::Info)\n        .add_filter(\"godot_logger\", LevelFilter::Debug)\n        .init()\n    {\n        godot_warn!(\"{}\", error.to_string());\n    }\n\n    log::debug!(\"Initialized the logger\");\n}\n\ngodot_init!(init);\n```\n\nThe following will be printed in the _Output_ console inside Godot:\n\n```text\n2021-09-25 19:29:25 DEBUG godot_logger Initialized the logger\n```\n\n## License\n\nLicensed under either of\n\n- Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or \u003chttp://www.apache.org/licenses/LICENSE-2.0\u003e)\n- MIT license ([LICENSE-MIT](LICENSE-MIT) or \u003chttp://opensource.org/licenses/MIT\u003e)\n\nat your option.\n\n## Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in the work by you, as defined in the Apache-2.0 license, shall be\ndual licensed as above, without any additional terms or conditions.\n\n[`godot-logger`]: https://crates.io/crates/godot-logger\n[godot-rust]: https://godot-rust.github.io\n[`log`]: https://crates.io/crates/log\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdno%2Fgodot-logger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjdno%2Fgodot-logger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdno%2Fgodot-logger/lists"}