Added the functionality of having logs in custom folders as well as resetting the custom path to default.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user