{"id":19063351,"url":"https://github.com/niamster/woodpecker","last_synced_at":"2025-04-26T12:29:14.236Z","repository":{"id":53707419,"uuid":"89296593","full_name":"niamster/woodpecker","owner":"niamster","description":"Logging for Rust","archived":false,"fork":false,"pushed_at":"2021-03-18T22:03:54.000Z","size":162,"stargazers_count":8,"open_issues_count":7,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-16T20:42:39.101Z","etag":null,"topics":["extensible","fast","log","logging","logging-library","rust","rust-library"],"latest_commit_sha":null,"homepage":null,"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/niamster.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":"2017-04-24T23:39:21.000Z","updated_at":"2021-03-19T01:45:33.000Z","dependencies_parsed_at":"2022-08-31T01:24:25.630Z","dependency_job_id":null,"html_url":"https://github.com/niamster/woodpecker","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niamster%2Fwoodpecker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niamster%2Fwoodpecker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niamster%2Fwoodpecker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niamster%2Fwoodpecker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/niamster","download_url":"https://codeload.github.com/niamster/woodpecker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250803886,"owners_count":21490168,"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":["extensible","fast","log","logging","logging-library","rust","rust-library"],"created_at":"2024-11-09T00:34:02.901Z","updated_at":"2025-04-25T10:49:16.000Z","avatar_url":"https://github.com/niamster.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ![Woodpecker](https://cdn.rawgit.com/niamster/woodpecker/master/logo/woodpecker.png)\n\n[![Crates.io](https://img.shields.io/crates/v/woodpecker.svg)](https://crates.io/crates/woodpecker)\n[![Docs.rs](https://docs.rs/woodpecker/badge.svg)](https://docs.rs/woodpecker)\n[![Linux Build Status](https://travis-ci.org/niamster/woodpecker.svg?branch=master)](https://travis-ci.org/niamster/woodpecker)\n[![Windows Build Status](https://ci.appveyor.com/api/projects/status/ljd6pkh8fsx7oh7a/branch/master?svg=true)](https://ci.appveyor.com/project/niamster/woodpecker)\n[![Codecov](https://codecov.io/gh/niamster/woodpecker/branch/master/graph/badge.svg)](https://codecov.io/gh/niamster/woodpecker)\n[![Coveralls](https://coveralls.io/repos/github/niamster/woodpecker/badge.svg?branch=master)](https://coveralls.io/github/niamster/woodpecker?branch=master)\n[![License](https://img.shields.io/crates/l/woodpecker.svg)](https://opensource.org/licenses/Apache-2.0)\n\n# Woodpecker - Logging for [Rust][rust]\n\n### Table of Contents\n\n* [Status](#status)\n* [`woodpecker` crate in your project](#in-your-project)\n* [Features](#features)\n* [License](#license)\n* [Credits](#credits)\n\n### Introduction\n\n`woodpecker` is a logging framework for [Rust][rust].\n\nThe goal is to have a fast, extensible and easy logging in [Rust][rust] application.\n\n[rust]: http://rust-lang.org\n\n### Status\n\nThe project is currently under development and doesn't provide a lot of features.\n\nAlthough the basic feature **logging** is well supported!\n\n### Features\nThe main feature is almost zero overhead if no filtering rules are defined and log is not produced.\n\nCurrently supported:\n* pluggable format function\n* definition of the logging rules via `RUST_LOG` environment variable\n* multiple log consumers\n* filtering by module (any part of the module path)\n* filtering by file (any part of the file path)\n* filtering by a line range within a file\n* conditional code execution depending on the log level\n* logging in a dedicated thread\n* logging to stdout/stderr\n* logging to a file\n* log file rotation (by size)\n\n### Documentation\n\nMost of the useful documentation can be gotten using rustdoc.\n\nCheck it out on [docs.rs/woodpecker](https://docs.rs/woodpecker).\n\n### In your project\n\nIn Cargo.toml:\n\n```toml\n[dependencies]\nwoodpecker = \"0.4\"\n```\n\nIn your `main.rs`:\n\n```rust\n#[macro_use]\nextern crate woodpecker;\nuse woodpecker as wp;\n\nfn main() {\n    wp::init();\n\n    wp_set_level!(wp::LogLevel::INFO).unwrap();\n\n    info!(\"It's alive!\");\n}\n```\n\nSee [examples/basic.rs](https://github.com/niamster/woodpecker/blob/master/examples/basic.rs) for the quick overview.\n\n### License\nWoodpecker project is licensed under Apache-2.0 license.\n\nLogo is licensed under Creative Commons Attribution (CC BY).\n\n### Credits\nSprockets for logo are provided by Jon Daiello and Ray Uribe from the Noun Project under Creative Commons Attribution (CC BY).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniamster%2Fwoodpecker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fniamster%2Fwoodpecker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniamster%2Fwoodpecker/lists"}