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
ZblLogParams.cpp
Go to the documentation of this file.
1 /*
2  * Zuble - A run-time system for QML/Javascript applications
3  * Copyright (C) 2016 Bob Dinitto
4  *
5  * Filename: ZblLogParams.cpp
6  * Created on: 1/24/2016
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 #include "ZblLogParams.h"
26 
27 namespace Zbl {
28 
30 {
31 }
32 
33 
35 {
41  m_fileFormat = params.m_fileFormat;
43 }
44 
46 {
52  m_fileFormat = params.m_fileFormat;
54  return *this;
55 }
56 
58 {
59  if(m_enableLogging != params.m_enableLogging)
60  return false;
62  return false;
64  return false;
66  return false;
67  if(m_enableDetails != params.m_enableDetails)
68  return false;
69  if(m_fileFormat != params.m_fileFormat)
70  return false;
71  if(m_logOutputDir != params.m_logOutputDir)
72  return false;
73 
74  return true;
75 }
76 
77 
78 
79 } // Zbl
LogFileFormat m_fileFormat
The current logger output file format.
Definition: ZblLogParams.h:104
bool m_enableModelOutput
Enables log output to log histogram buffer.
Definition: ZblLogParams.h:93
Definition: ZAndGate.cpp:6
QString m_logOutputDir
Directory in which log files are created.
Definition: ZblLogParams.h:110
This class contains the Zuble logging parameters that control log output.
Definition: ZblLogParams.h:38
bool equals(const ZblLogParams &params)
bool m_enableFileOutput
Enables log output to file.
Definition: ZblLogParams.h:81
bool m_enableLogging
Enables Zuble logging.
Definition: ZblLogParams.h:75
bool m_enableStdOutput
Enables log output to stdout.
Definition: ZblLogParams.h:87
ZblLogParams & operator=(const ZblLogParams &params)
bool m_enableDetails
Logs will include detailed debugging information.
Definition: ZblLogParams.h:99