Skip to content

Commit 85f4a46

Browse files
committed
Remove redundant RESTClient prefix from log messages (subsystem already provides this)
1 parent 80f7f08 commit 85f4a46

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Sources/HandySwift/Types/LogRequestPlugin.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117

118118
// Log with structured data
119119
self.logger.info(
120-
"[RESTClient] Sending \(method, privacy: .public) request to '\(url, privacy: .public)'"
120+
"Sending \(method, privacy: .public) request to '\(url, privacy: .public)'"
121121
)
122122
self.logger.debug("Headers: \(headers, privacy: .private)")
123123
self.logger.debug("Body: \(bodyString, privacy: .private)")

Sources/HandySwift/Types/LogResponsePlugin.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124

125125
// Log with structured data
126126
self.logger.info(
127-
"[RESTClient] Response \(statusCode, privacy: .public) from '\(url, privacy: .public)'"
127+
"Response \(statusCode, privacy: .public) from '\(url, privacy: .public)'"
128128
)
129129
self.logger.debug("Headers: \(headers, privacy: .private)")
130130
self.logger.debug("Body: \(bodyString, privacy: .private)")

0 commit comments

Comments
 (0)