mirror of
https://github.com/watchexec/watchexec.git
synced 2024-11-14 08:11:11 +01:00
Deprecate Args.debug harder
This commit is contained in:
parent
9968a66042
commit
426b6a8318
1 changed files with 4 additions and 5 deletions
|
@ -49,11 +49,6 @@ pub struct Args {
|
|||
/// Interval to debounce the changes. (milliseconds)
|
||||
#[builder(default = "500")]
|
||||
pub debounce: u64,
|
||||
/// Enable debug/verbose logging. No longer used as of 1.14.0 (soft-deprecated).
|
||||
///
|
||||
/// Debug messages are printed via debug! so configure your logger appropriately instead.
|
||||
#[builder(default)]
|
||||
pub debug: bool,
|
||||
/// Change messages are printed via info! so configure your logger appropriately instead.
|
||||
#[builder(default)]
|
||||
pub changes: bool,
|
||||
|
@ -102,6 +97,10 @@ impl ArgsBuilder {
|
|||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
#[deprecated(since = "1.15.0", note = "does nothing. set the log level instead")]
|
||||
pub fn debug(&mut self, _: impl Into<bool>) -> &mut Self {
|
||||
self
|
||||
}
|
||||
|
||||
#[cfg(target_family = "windows")]
|
||||
|
|
Loading…
Reference in a new issue