diff options
author | Orochimarufan <orochimarufan.x3@gmail.com> | 2014-01-17 22:55:10 +0100 |
---|---|---|
committer | Orochimarufan <orochimarufan.x3@gmail.com> | 2014-01-17 22:55:10 +0100 |
commit | 188d0d58865f5e134b5803bda2cd631a61cf2915 (patch) | |
tree | be2aca8f9205db5f1bfa6e37e183c596f1fe832f /gui/ConsoleWindow.cpp | |
parent | 7b96d74d3b197c23324c5a364809a91ea6800e4e (diff) | |
download | MultiMC-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.cpp | 3 |
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()) |