From 0c4382d7cef94a6c5ff618698d0c83b2bca9d502 Mon Sep 17 00:00:00 2001 From: "Tristan B. Velloza Kildaire" Date: Fri, 17 Mar 2023 09:10:04 +0200 Subject: [PATCH] Client - Test new parameter parsing - Noted DLog logging bug where output cannot be seen --- source/birchwood/client/client.d | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/source/birchwood/client/client.d b/source/birchwood/client/client.d index 09a9463..1e2c7da 100644 --- a/source/birchwood/client/client.d +++ b/source/birchwood/client/client.d @@ -139,10 +139,25 @@ public class Client : Thread if(commandReply.getReplyType() == ReplyType.RPL_BOUNCE) { + logger.log(); + logger.log("<<<>>>"); + logger.log("Take a look:\n\n"~commandReply.getParams()); logger.log("And here is key-value pairs: ", commandReply.getKVPairs()); - logger.log("And here is everything: ", commandReply.getTrailing()); + logger.log("And here is array: ", commandReply.getPairs()); + + // TODO: DLog bug, this prints nothing + logger.log("And here is trailing: ", commandReply.getTrailing().length); + + import std.stdio; + writeln("Trailer: "~commandReply.getTrailing()); + + logger.log("<<<>>>"); + logger.log(); + + + } }