Deskflow 1.26.0.207
Keyboard and mouse sharing utility
Loading...
Searching...
No Matches
ArchLogUnix.h
Go to the documentation of this file.
1/*
2 * Deskflow -- mouse and keyboard sharing utility
3 * SPDX-FileCopyrightText: (C) 2026 Deskflow Developers
4 * SPDX-FileCopyrightText: (C) 2012 - 2016 Symless 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 "arch/IArchLog.h"
12
13#define ARCH_LOG ArchLogUnix
14
16class ArchLogUnix : public IArchLog
17{
18public:
19 ArchLogUnix() = default;
20 ~ArchLogUnix() override = default;
21
22 // IArchLog overrides
23 void openLog(const QString &name) override;
24 void closeLog() override;
25 void writeLog(LogLevel::Level, const QString &) override;
26};
static const struct sockaddr FAR * name
Definition ArchNetworkWinsock.cpp:28
void closeLog() override
Close the log.
Definition ArchLogUnix.cpp:22
ArchLogUnix()=default
void openLog(const QString &name) override
Open the log.
Definition ArchLogUnix.cpp:17
~ArchLogUnix() override=default
void writeLog(LogLevel::Level, const QString &) override
Write to the log.
Definition ArchLogUnix.cpp:27
Interface for architecture dependent logging.
Definition IArchLog.h:21
Level
Log levels.
Definition LogLevel.h:22