Deskflow
1.26.0.418
Keyboard and mouse sharing utility
Toggle main menu visibility
Loading...
Searching...
No Matches
ILogOutputter.h
Go to the documentation of this file.
1
/*
2
* Deskflow -- mouse and keyboard sharing utility
3
* SPDX-FileCopyrightText: (C) 2025 - 2026 Deskflow Developers
4
* SPDX-FileCopyrightText: (C) 2012 - 2016 Synergy App Ltd
5
* SPDX-FileCopyrightText: (C) 2002 Chris Schoeneman
6
* SPDX-License-Identifier: GPL-2.0-only WITH LicenseRef-OpenSSL-Exception
7
*/
8
9
#pragma once
10
11
#include "
base/Log.h
"
12
#include "
common/LogLevel.h
"
13
15
20
class
ILogOutputter
21
{
22
public
:
23
virtual
~ILogOutputter
() =
default
;
24
26
27
29
33
virtual
void
open
(
const
QString &title) = 0;
34
36
40
virtual
void
close
() = 0;
41
43
49
virtual
bool
write
(
LogLevel::Level
level
,
const
QString &message) = 0;
50
52
};
level
static int level
Definition
ArchNetworkWinsock.cpp:32
LogLevel.h
Log.h
ILogOutputter
Outputter interface.
Definition
ILogOutputter.h:21
ILogOutputter::write
virtual bool write(LogLevel::Level level, const QString &message)=0
Write a message with level.
ILogOutputter::close
virtual void close()=0
Close the outputter.
ILogOutputter::open
virtual void open(const QString &title)=0
Open the outputter.
ILogOutputter::~ILogOutputter
virtual ~ILogOutputter()=default
LogLevel::Level
Level
Log levels.
Definition
LogLevel.h:22
src
lib
base
ILogOutputter.h
Generated by
1.18.0