- Updated logging feature to indicate the feature which was enabled or disabled within the log message, instead of only in the metadata

Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
This commit is contained in:
2024-12-02 13:58:12 +01:00
parent 3c16b32648
commit bc0972cf32
3 changed files with 8 additions and 4 deletions
+4
View File
@@ -1,3 +1,7 @@
## 1.1.6
- Updated logging feature to indicate the feature which was enabled or disabled within the log message, instead of only in the metadata
## 1.1.5 ## 1.1.5
- Update package dependencies. No code changes. - Update package dependencies. No code changes.
@@ -68,7 +68,7 @@ class ArcaneFeatureFlags extends ArcaneService {
if (Arcane.logger.initialized) { if (Arcane.logger.initialized) {
Arcane.logger.log( Arcane.logger.log(
"Feature enabled", "Feature enabled: ${feature.name}",
level: Level.debug, level: Level.debug,
metadata: { metadata: {
feature.name: "", feature.name: "",
@@ -97,7 +97,7 @@ class ArcaneFeatureFlags extends ArcaneService {
if (Arcane.logger.initialized) { if (Arcane.logger.initialized) {
Arcane.logger.log( Arcane.logger.log(
"Feature disabled", "Feature disabled: ${feature.name}",
level: Level.debug, level: Level.debug,
metadata: { metadata: {
feature.name: "", feature.name: "",
+2 -2
View File
@@ -1,6 +1,6 @@
name: arcane_framework name: arcane_framework
description: "Agnostic Reusable Component Architecture for New Ecosystems: a modern framework for bootstrapping new applications" description: "Agnostic Reusable Component Architecture for New Ecosystems: a modern framework for bootstrapping new applications"
version: 1.1.5 version: 1.1.6
repository: https://github.com/hanskokx/arcane_framework repository: https://github.com/hanskokx/arcane_framework
issue_tracker: https://github.com/hanskokx/arcane_framework/issues issue_tracker: https://github.com/hanskokx/arcane_framework/issues
@@ -12,7 +12,7 @@ environment:
flutter: ">=1.17.0" flutter: ">=1.17.0"
dependencies: dependencies:
arcane_helper_utils: ^1.2.0 arcane_helper_utils: ^1.2.5
collection: ^1.18.0 collection: ^1.18.0
flutter: flutter:
sdk: flutter sdk: flutter