Deskflow
1.26.0.418
Keyboard and mouse sharing utility
Toggle main menu visibility
Loading...
Searching...
No Matches
Logger.h
Go to the documentation of this file.
1
/*
2
* Deskflow -- mouse and keyboard sharing utility
3
* SPDX-FileCopyrightText: (C) 2024 Synergy App Ltd
4
* SPDX-License-Identifier: GPL-2.0-only WITH LicenseRef-OpenSSL-Exception
5
*/
6
7
#pragma once
8
9
#include <QObject>
10
11
namespace
deskflow::gui
{
12
13
class
Logger :
public
QObject
14
{
15
Q_OBJECT
16
17
public
:
18
static
Logger *
instance
()
19
{
20
static
Logger m;
21
return
&m;
22
}
23
24
void
handleMessage
(
const
QtMsgType
type
,
const
QString &fileLine,
const
QString &message);
25
26
Q_SIGNALS:
27
void
newLine
(
const
QString &line);
28
29
private
:
30
explicit
Logger();
31
~Logger()
override
;
32
void
settingChanged(
const
QString &key);
33
bool
m_guiDebug =
false
;
34
};
35
36
}
// namespace deskflow::gui
type
static int type
Definition
ArchNetworkWinsock.cpp:46
deskflow::gui::Logger::handleMessage
void handleMessage(const QtMsgType type, const QString &fileLine, const QString &message)
Definition
Logger.cpp:53
deskflow::gui::Logger::newLine
void newLine(const QString &line)
deskflow::gui::Logger::instance
static Logger * instance()
Definition
Logger.h:18
deskflow::gui
Definition
CoreProcess.cpp:30
src
lib
gui
Logger.h
Generated by
1.18.0