diff options
author | Christian Kandeler <christian.kandeler@digia.com> | 2013-01-31 18:23:59 +0100 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@digia.com> | 2013-02-06 10:36:05 +0100 |
commit | aea6cbfa9d96f3f76bbc3b81362c54c9322b3fcb (patch) | |
tree | c140b905b53b01e509ad923a12e5b31f043f3361 /tests/auto/language/tst_language.h | |
parent | e5545733e8f63f62d499e73a27a72fc898a58e4e (diff) | |
download | qbs-aea6cbfa9d96f3f76bbc3b81362c54c9322b3fcb.tar.gz |
Remove global log sink.
Applications may not want to use the same log sink for all builds.
The logging facility is also decoupled from the command-line client in other
ways:
- The LogWriter modifiers for output channel and text color are gone,
since this type of decision should not be made by low-level code.
Instead, the "highlight" string can be forwarded to the log sink.
- The console logger now lives in app/shared, as it must never be used
by library code.
Change-Id: I8863a554c9b74577320ef23f6f934a74e0f0cbb0
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'tests/auto/language/tst_language.h')
-rw-r--r-- | tests/auto/language/tst_language.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/auto/language/tst_language.h b/tests/auto/language/tst_language.h index 02112c74e..831eebaf6 100644 --- a/tests/auto/language/tst_language.h +++ b/tests/auto/language/tst_language.h @@ -33,12 +33,11 @@ #include <app/shared/qbssettings.h> #include <language/forward_decls.h> #include <language/loader.h> -#include <logging/consolelogger.h> -#include <logging/logger.h> #include <tools/setupprojectparameters.h> #include <QtTest> using namespace qbs; +using namespace Internal; class TestLanguage : public QObject { |