All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
Unreleased - ReleaseDate
3.0.1 - 2024-11-26
- Add
impl From<Verbosity>
for logging level and level-filter types
3.0.0 - 2024-11-20
- Log support put behind the default
log
feature LogLevel::default
renamed toLogLevel::default_filter
and now returnsVerbosityFilter
Level
andLevelFilter
are moved into thelog
mod
- Add
tracing
feature withVerbosity::tracing_level
andVerbosity::tracing_level_filter
2.2.3 - 2024-11-16
- Add
DebugLevel
andTraceLevel
for exploratory programming
2.2.2 - 2024-09-26
- Resolve overflow issues
2.2.1 - 2024-07-25
- Raised MSRV to 1.74
2.2.0 - 2024-02-14
- Raised MSRV to 1.73
- Add
is_present()
to see if one of the flags is present on the command-line
2.1.2 - 2024-01-16
- Don't pollute the CLIs help
2.1.1 - 2023-12-15
- Tried to clarify help output for
-v
/-q
- Tried to clarify role of
LogLevel
trait
2.1.0 - 2023-10-23
- Raised MSRV to 1.70.0
- Implement
Default
2.0.1 - 2023-03-29
- Re-export enums from
log
2.0.0 - 2022-09-28
- Upgraded to clap v4
- Raised MSRV to 1.60.0
1.0.1 - 2022-06-13
- Clarify relationship with
log
1.0.0 - 2022-02-09
set_default
has been removed in favor of being generic overLogLevel
.--verbose
and--quiet
are now global
- Allow customizing help text
--verbose
and--quiet
are now global
0.4.1 - 2022-01-27
- Added
log_level_filter
for convenience
Display
now shows the combination of quiet and verbose- Improved examples in documentation
0.4.0 - 2021-12-31
- Upgraded to clap3
0.3.2 - 2021-08-07
- Allow instantiating the struct
0.3.1 - 2020-01-16
- Workaround bug in structopt causing
clap-verbosity-flag
s doc-comment to win out over the caller's
0.3.0 - 2019-10-17
- Support
.set_default_level()
for configuring the default level --quiet
is now supported- Support Logging being disabled via
None
structopt
0.3 is now required- Removed
setuop_env_logger
. requiring you to configure the logger yourself. --verbosiy
changed to--verbose
log_level
now returns anOption
with the intention thatNone
means no user-visible outpiut (including logging)