Skip to content

Commit

Permalink
Prepare 0.13.0 release (#65)
Browse files Browse the repository at this point in the history
- remove deprecated `Config::with_min_level()` method
  • Loading branch information
tyranron authored Feb 14, 2023
1 parent fee1bea commit f85999f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,23 @@ All user visible changes to this project will be documented in this file. This p



## [0.13.0] · 2023-02-??
## [0.13.0] · 2023-02-14
[0.13.0]: /../../tree/v0.13.0

[Diff](/../../compare/v0.12.0...v0.13.0)

### BC Breaks

- Added `buf_id` argument to `PlatformLogWriter::new()` method allowing to specify concrete Android logging system buffer. ([#50], [#64])
- Removed deprecated `Config::with_min_level()` method accepting `log::Level`. ([#65])

### Added

- `Config::with_log_buffer()` method to specify concrete Android logging system buffer. ([#50], [#64])

[#50]: /../../pull/50
[#64]: /../../pull/64
[#65]: /../../pull/65



Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "android_logger"
version = "0.12.0"
version = "0.13.0"
authors = ["The android_logger Developers"]
license = "MIT OR Apache-2.0"
readme = "README.md"
Expand Down
7 changes: 0 additions & 7 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -271,13 +271,6 @@ pub struct Config {
}

impl Config {
// TODO: Remove on 0.13 version release.
/// **DEPRECATED**, use [`Config::with_max_level()`] instead.
#[deprecated(note = "use `.with_max_level()` instead")]
pub fn with_min_level(self, level: Level) -> Self {
self.with_max_level(level.to_level_filter())
}

/// Changes the maximum log level.
///
/// Note, that `Trace` is the maximum level, because it provides the
Expand Down

0 comments on commit f85999f

Please sign in to comment.