{"id":33939089,"url":"https://github.com/borisfaure/lovely-env-logger","last_synced_at":"2026-04-07T15:31:20.436Z","repository":{"id":57680322,"uuid":"493816684","full_name":"borisfaure/lovely-env-logger","owner":"borisfaure","description":"A lovely, easy-to-use logger for Rust.  Forked from pretty-env-logger","archived":false,"fork":false,"pushed_at":"2025-08-11T21:34:34.000Z","size":250,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-04T13:11:42.534Z","etag":null,"topics":["logging","rust","rust-library"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/borisfaure.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","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-05-18T20:32:12.000Z","updated_at":"2025-10-02T13:53:12.000Z","dependencies_parsed_at":"2024-01-22T23:33:06.892Z","dependency_job_id":"edba94d3-d9da-4f2e-ac86-41d983476f91","html_url":"https://github.com/borisfaure/lovely-env-logger","commit_stats":{"total_commits":83,"total_committers":20,"mean_commits":4.15,"dds":0.6024096385542168,"last_synced_commit":"0136d0bbb9d305fc4825e269d1cf3a6656c9565d"},"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/borisfaure/lovely-env-logger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borisfaure%2Flovely-env-logger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borisfaure%2Flovely-env-logger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borisfaure%2Flovely-env-logger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borisfaure%2Flovely-env-logger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/borisfaure","download_url":"https://codeload.github.com/borisfaure/lovely-env-logger/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borisfaure%2Flovely-env-logger/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31518404,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["logging","rust","rust-library"],"created_at":"2025-12-12T15:12:12.486Z","updated_at":"2026-04-07T15:31:20.430Z","avatar_url":"https://github.com/borisfaure.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lovely-env-logger\n\n[![Crates.io](https://img.shields.io/crates/v/lovely_env_logger.svg)](https://crates.io/crates/lovely_env_logger)\n[![Docs](https://docs.rs/lovely_env_logger/badge.svg)](https://docs.rs/lovely_env_logger)\n[![MIT/APACHE-2.0](https://img.shields.io/crates/l/lovely_env_logger.svg)](https://crates.io/crates/lovely_env_logger)\n\nA simple logger built on top of [env_logger](https://docs.rs/env_logger).\nIt is configured via an environment variable and writes to standard\nerror with nice colored output for log levels.\nOriginally a fork from [pretty_env_logger](https://github.com/seanmonstar/pretty-env-logger).\n\n## Screenshots\n![example default output](log_default.png)\n![example output with relative timestamps, short\nlevels](log_relative_timestamps.png)\n![example output with system timestamps, file names and line numbers](log_file_line_system_time.png)\n\n## Usage\n\nAdd the dependency to your `Cargo.toml`:\n\n```toml\n[dependencies]\nlog = \"0.4\"\nlovely_env_logger = \"0.6\"\n```\n\nAdd some usage to your application:\n\n```rust\nextern crate lovely_env_logger;\n#[macro_use] extern crate log;\n\nfn main() {\n    lovely_env_logger::init_default();\n    info!(\"such information\");\n    warn!(\"o_O\");\n    error!(\"much error\");\n}\n```\n\nThen run your app with the environmental variable set:\n\n```\nRUST_LOG=trace cargo run\n```\n\n## License\n\nLicensed under either of\n\n- Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or http://apache.org/licenses/LICENSE-2.0)\n- MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborisfaure%2Flovely-env-logger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fborisfaure%2Flovely-env-logger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborisfaure%2Flovely-env-logger/lists"}