Added the functionality of having logs in custom folders as well as resetting the custom path to default.

This commit is contained in:
apa420
2018-05-15 19:44:58 +02:00
parent 454b6bcb70
commit 26a0d5bc26
4 changed files with 74 additions and 3 deletions
+2 -1
View File
@@ -7,7 +7,6 @@
namespace chatterino {
namespace singletons {
class PathManager;
class LoggingManager
@@ -23,6 +22,8 @@ public:
void addMessage(const QString &channelName, messages::MessagePtr message);
void refreshLoggingPath();
private:
std::map<QString, std::unique_ptr<LoggingChannel>> loggingChannels;
QString getDirectoryForChannel(const QString &channelName);