Add logging to experimental IRC (#2996)

Co-authored-by: xHeaveny <69117321+xHeaveny@users.noreply.github.com>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
This commit is contained in:
Mm2PL
2022-07-02 09:42:28 +00:00
committed by GitHub
parent 0ab53d62ea
commit bbadbc4b33
8 changed files with 59 additions and 17 deletions
+7 -2
View File
@@ -20,10 +20,15 @@ public:
virtual void initialize(Settings &settings, Paths &paths) override;
void addMessage(const QString &channelName, MessagePtr message);
void addMessage(const QString &channelName, MessagePtr message,
const QString &platformName);
private:
std::map<QString, std::unique_ptr<LoggingChannel>> loggingChannels_;
using PlatformName = QString;
using ChannelName = QString;
std::map<PlatformName,
std::map<ChannelName, std::unique_ptr<LoggingChannel>>>
loggingChannels_;
};
} // namespace chatterino