Deskflow 1.22.0.197
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) 2012 - 2016 Symless Ltd.
4 * SPDX-FileCopyrightText: (C) 2002 Chris Schoeneman
5 * SPDX-License-Identifier: GPL-2.0-only WITH LicenseRef-OpenSSL-Exception
6 */
7
8#pragma once
9
10#include "arch/IArchLog.h"
11
12#define ARCH_LOG ArchLogUnix
13
15class ArchLogUnix : public IArchLog
16{
17public:
18 ArchLogUnix() = default;
19 ~ArchLogUnix() override = default;
20
21 // IArchLog overrides
22 void openLog(const char *name) override;
23 void closeLog() override;
24 void showLog(bool) override;
25 void writeLog(LogLevel, const char *) override;
26};
static const struct sockaddr FAR * name
Definition ArchNetworkWinsock.cpp:27
LogLevel
Log levels.
Definition LogLevel.h:15
void closeLog() override
Close the log.
Definition ArchLogUnix.cpp:21
void openLog(const char *name) override
Open the log.
Definition ArchLogUnix.cpp:16
ArchLogUnix()=default
void writeLog(LogLevel, const char *) override
Write to the log.
Definition ArchLogUnix.cpp:31
void showLog(bool) override
Show the log.
Definition ArchLogUnix.cpp:26
~ArchLogUnix() override=default
Interface for architecture dependent logging.
Definition IArchLog.h:19