CConsoleLogComp.h
Go to the documentation of this file.
1 #ifndef ilog_CConsoleLogComp_included
2 #define ilog_CConsoleLogComp_included
3 
4 
5 // ACF includes
8 
9 
10 namespace ilog
11 {
12 
13 
20 {
21 public:
23 
24  I_BEGIN_COMPONENT(CConsoleLogComp);
25  I_END_COMPONENT;
26 
27 protected:
28  // reimplemented (CStreamLogCompBase)
29  virtual void WriteText(const QString& text, istd::IInformationProvider::InformationCategory category);
30 
31 private:
32  void SetConsoleColor(istd::IInformationProvider::InformationCategory category);
33 };
34 
35 
36 } // namespace ilog
37 
38 
39 #endif // !ilog_CConsoleLogComp_included
40 
CStreamLogCompBase BaseClass
Basic implementation for a log written to an output stream.
InformationCategory
Category of information.
Message container displaying messages as log list.
virtual void WriteText(const QString &text, istd::IInformationProvider::InformationCategory category)
Write a text line to the output stream.

© 2007-2017 Witold Gantzke and Kirill Lepskiy