Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,14 @@

+ The `load()` method was removed. Please use `frequenz.sdk.config.load_config()` instead.
+ The class is now a standard `dataclass` instead of a `marshmallow_dataclass`.
+ The class is now immutable.
+ The constructor now accepts only keyword arguments.

* `LoggerConfig` is not a standard `dataclass` instead of a `marshmallow_dataclass`.
* `LoggerConfig`

+ The class is now a standard `dataclass` instead of a `marshmallow_dataclass`.
+ The class is now immutable.
+ The constructor now accepts only keyword arguments.

## New Features

Expand Down
4 changes: 2 additions & 2 deletions src/frequenz/sdk/config/_logging_actor.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"""A marshmallow field for validating log levels."""


@dataclass
@dataclass(frozen=True, kw_only=True)
class LoggerConfig:
"""A configuration for a logger."""

Expand All @@ -41,7 +41,7 @@ class LoggerConfig:
"""The log level for the logger."""


@dataclass
@dataclass(frozen=True, kw_only=True)
class LoggingConfig:
"""A configuration for the logging system."""

Expand Down
Loading