Skip to content

Commit 10d084f

Browse files
committed
Swift: update comment
1 parent cfcd26c commit 10d084f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

swift/logging/SwiftDiagnostics.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,10 @@ struct SwiftDiagnostic {
7575
helpLinks{helpLinks},
7676
visibility{visibility} {}
7777

78-
// create a JSON diagnostics for this source with the given timestamp and message to out
79-
// A plaintextMessage is used that includes both the message and the action to take. Dots are
80-
// appended to both. The id is used to construct the source id in the form
81-
// `swift/<prog name>/<id>`
78+
// create a JSON diagnostics for this source with the given `timestamp` and `message`
79+
// Depending on format, either a plaintextMessage or markdownMessage is used that includes both
80+
// the message and the action to take. A dot '.' is appended to `message`. The id is used to
81+
// construct the source id in the form `swift/<prog name>/<id>`
8282
nlohmann::json json(const std::chrono::system_clock::time_point& timestamp,
8383
std::string_view message) const;
8484

0 commit comments

Comments
 (0)