Skip to content

Commit 1e48416

Browse files
committed
fix: refactor logger for version
1 parent 5562ab0 commit 1e48416

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Sources/FSAppConfiguration/FSAppConfiguration.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ public struct FSAppConfiguration {
133133
self.app.logger.error("ERROR: Encoded empty value by '\(path)' in consul")
134134
return ""
135135
} else {
136-
self.app.logger.info("SUCCESS: Encoded '\(dataValue)' by '\(path)' from consul")
136+
self.app.logger.info("SUCCESS: Encoded '\(versionString)' by '\(path)' from consul")
137137
return versionString
138138
}
139139
}

Sources/FSAppConfiguration/FSAppConfigurationAsync.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public struct FSAppConfigurationAsync {
110110
self.app.logger.error("ERROR: Encoded empty value by '\(path)' in consul")
111111
return ""
112112
} else {
113-
self.app.logger.info("SUCCESS: Encoded '\(dataValue)' by '\(path)' from consul")
113+
self.app.logger.info("SUCCESS: Encoded '\(versionString)' by '\(path)' from consul")
114114
return versionString
115115
}
116116
}.get()

0 commit comments

Comments
 (0)