Skip to content

Commit b2dc364

Browse files
xeniapeTechassi
andauthored
chore: derive strum::Display for LogLevel (#805)
* derive display for loglevel * Update Changelog * Update crates/stackable-operator/CHANGELOG.md Co-authored-by: Techassi <[email protected]> --------- Co-authored-by: Techassi <[email protected]>
1 parent 1c2d22c commit b2dc364

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

crates/stackable-operator/CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
44

55
## [Unreleased]
66

7+
### Added
8+
9+
- Derive `strum::Display` for `LogLevel`([#805]).
10+
11+
[#805]: https://github.com/stackabletech/operator-rs/pull/805
12+
713
## [0.69.0] - 2024-06-03
814

915
### Added

crates/stackable-operator/src/product_logging/spec.rs

+2
Original file line numberDiff line numberDiff line change
@@ -313,8 +313,10 @@ pub struct AppenderConfig {
313313
PartialEq,
314314
PartialOrd,
315315
Serialize,
316+
strum::Display,
316317
)]
317318
#[derivative(Default)]
319+
#[strum(serialize_all = "lowercase")]
318320
pub enum LogLevel {
319321
TRACE,
320322
DEBUG,

0 commit comments

Comments
 (0)