summaryrefslogtreecommitdiffstats
path: root/gui/ConsoleWindow.cpp
diff options
context:
space:
mode:
authorOrochimarufan <orochimarufan.x3@gmail.com>2014-01-17 22:55:10 +0100
committerOrochimarufan <orochimarufan.x3@gmail.com>2014-01-17 22:55:10 +0100
commit188d0d58865f5e134b5803bda2cd631a61cf2915 (patch)
treebe2aca8f9205db5f1bfa6e37e183c596f1fe832f /gui/ConsoleWindow.cpp
parent7b96d74d3b197c23324c5a364809a91ea6800e4e (diff)
downloadMultiMC-188d0d58865f5e134b5803bda2cd631a61cf2915.tar
MultiMC-188d0d58865f5e134b5803bda2cd631a61cf2915.tar.gz
MultiMC-188d0d58865f5e134b5803bda2cd631a61cf2915.tar.lz
MultiMC-188d0d58865f5e134b5803bda2cd631a61cf2915.tar.xz
MultiMC-188d0d58865f5e134b5803bda2cd631a61cf2915.zip
Improve Console window output.
-> Log Pre- and Post-Launch command happenings -> Enable the java part to specify the level TODO: fix logging with mc 1.7's log4j logging infrastructure Signed-off-by: Orochimarufan <orochimarufan.x3@gmail.com>
Diffstat (limited to 'gui/ConsoleWindow.cpp')
-rw-r--r--gui/ConsoleWindow.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/gui/ConsoleWindow.cpp b/gui/ConsoleWindow.cpp
index 54a74bde..dc36a8ff 100644
--- a/gui/ConsoleWindow.cpp
+++ b/gui/ConsoleWindow.cpp
@@ -140,6 +140,9 @@ void ConsoleWindow::write(QString data, MessageLevel::Enum mode)
else if (mode == MessageLevel::Debug)
while (iter.hasNext())
writeColor(iter.next(), "green");
+ else if (mode == MessageLevel::PrePost)
+ while (iter.hasNext())
+ writeColor(iter.next(), "grey");
// TODO: implement other MessageLevels
else
while (iter.hasNext())