Skip to content

Commit 6fed1a0

Browse files
committed
Consistently using "(client_name)" in logging statements.
1 parent dc716a5 commit 6fed1a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lldb/tools/lldb-dap/DAP.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ std::string DAP::ReadJSON() {
265265
if (!input.read_full(log, length, json_str))
266266
return json_str;
267267

268-
DAP_LOG(log, "{0} --> {1}", client_name, json_str);
268+
DAP_LOG(log, "({0}) --> {1}", client_name, json_str);
269269
return json_str;
270270
}
271271

@@ -708,7 +708,7 @@ PacketStatus DAP::GetNextObject(llvm::json::Object &object) {
708708

709709
llvm::json::Object *object_ptr = json_value->getAsObject();
710710
if (!object_ptr) {
711-
DAP_LOG(log, "error: json packet isn't a object");
711+
DAP_LOG(log, "({0}) error: json packet isn't a object", client_name);
712712
return PacketStatus::JSONNotObject;
713713
}
714714
object = *object_ptr;

0 commit comments

Comments
 (0)