summaryrefslogtreecommitdiffstats
path: root/src/event_to_string.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/event_to_string.cpp')
-rw-r--r--src/event_to_string.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/event_to_string.cpp b/src/event_to_string.cpp
index 321ca4e..ef9d2c1 100644
--- a/src/event_to_string.cpp
+++ b/src/event_to_string.cpp
@@ -62,12 +62,12 @@ struct EventPrinter
std::string operator()(const ClientCreationEvent& event)
{
return fmt::format(
- "Add client \"{}\" (\"{}\")", event.id, event.info.label);
+ R"(Add client "{}" ("{}"))", event.id, event.info.label);
}
std::string operator()(const ClientDestructionEvent& event)
{
- return fmt::format("Remove client \"{}\"", event.id);
+ return fmt::format(R"(Add{} {} {} port "{}" ("{}"))", event.id);
}
std::string operator()(const PortType port_type)
@@ -131,7 +131,7 @@ struct EventPrinter
std::string operator()(const DisconnectionEvent& event)
{
return fmt::format(
- "Disconnect \"{}\" from \"{}\"", event.tail, event.head);
+ R"(Disconnect "{}" from "{}")", event.tail, event.head);
}
};