rust-cli / rust-cli/env_logger
error!(...) exit error
Open
Nobody has claimed this yet.
question
- Dominant language
- Rust
- Stars
- 1.1k
- Forks
- 149
- Avg merge
- 2h 42m
- Merged PRs (30d)
- 4
Description
There is a possibility to exit with error code if error!(...) macro is used?
Currently error!(...) simply prints the message: can we set a flag (maybe during building the logger) to exit with a status code different from 0?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by examining the error!(...) macro and how the logger is built. Determine whether logger configuration can control process exit status without changing ordinary logging behavior. Done means the requested nonzero exit behavior is defined and covered by appropriate tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- observability-sre
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100