summaryrefslogtreecommitdiffstats
path: root/logic/minecraft/MinecraftInstance.h
diff options
context:
space:
mode:
Diffstat (limited to 'logic/minecraft/MinecraftInstance.h')
-rw-r--r--logic/minecraft/MinecraftInstance.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/logic/minecraft/MinecraftInstance.h b/logic/minecraft/MinecraftInstance.h
index 45589daf..7ed659a7 100644
--- a/logic/minecraft/MinecraftInstance.h
+++ b/logic/minecraft/MinecraftInstance.h
@@ -40,6 +40,9 @@ public:
/// create an environment for launching processes
virtual QProcessEnvironment createEnvironment() override;
+
+ /// guess log level from a line of minecraft log
+ virtual MessageLevel::Enum guessLevel(const QString &line, MessageLevel::Enum level);
};
typedef std::shared_ptr<MinecraftInstance> MinecraftInstancePtr;