WARNING: USE THIS SOFTWARE AT YOUR OWN RISK! THIS IS EXPERIMENTAL SOFTWARE NOT INTENDED FOR PRODUCTION USE! Zuble is currently an early stage prototype. As such Zuble is minimally tested and inherently unstable. It is provided for experimental, development, and demonstration purposes only. Zuble QML Types   |  Zuble C++ Classes   |  Zuble Overview
Zuble  0.1
Zuble Framework C++/QML extension API
ZblLogMessage.h
Go to the documentation of this file.
1 /*
2  * Zuble - A run-time system for QML/Javascript applications
3  * Copyright (C) 2015 Bob Dinitto
4  *
5  * Filename: ZblLogMessage.h
6  * Created on: 11/15/2015
7  * Author: Bob Dinitto
8  *
9  * Zuble is free software; you can redistribute it and/or
10  * modify it under the terms of the GNU Lesser General Public
11  * License as published by the Free Software Foundation; either
12  * version 2.1 of the License, or (at your option) any later version.
13  *
14  * This library is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17  * Lesser General Public License for more details.
18  *
19  * You should have received a copy of the GNU Lesser General Public
20  * License along with this library; if not, write to the Free Software
21  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
22  *
23  */
24 
25 #ifndef ZBLLOGMESSAGE_H
26 #define ZBLLOGMESSAGE_H
27 
28 #include <QString>
29 #include <QMetaType>
30 
31 namespace Zbl {
32 
39 {
40 public:
41  ZblLogMessage();
42  ZblLogMessage(const ZblLogMessage& message);
43 
45 
46  int m_line;
47  int m_msgType;
48  QString m_file;
49  QString m_function;
50  QString m_category;
51  QString m_text;
52 
57  bool m_flush;
58 };
59 
60 
61 
62 } // Zbl
63 
64 Q_DECLARE_METATYPE(Zbl::ZblLogMessage)
65 
66 #endif // ZBLLOGMESSAGE_H
Definition: ZAndGate.cpp:6
bool m_flush
true = flush output buffers and close streams before returning (used for fatal/abort messages) ...
Definition: ZblLogMessage.h:57
This class is used to transfer log messages between threads.
Definition: ZblLogMessage.h:38