#pragma once #include "common/Singleton.hpp" #include "messages/Message.hpp" #include "singletons/helper/LoggingChannel.hpp" #include namespace chatterino { class Paths; class Logging : public Singleton { Paths *pathManager = nullptr; public: Logging() = default; virtual void initialize(Application &app) override; void addMessage(const QString &channelName, MessagePtr message); private: std::map> loggingChannels_; }; } // namespace chatterino