Deskflow 1.22.0.197
Keyboard and mouse sharing utility
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) 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 "base/Log.h"
11#include "base/LogLevel.h"
12#include "common/IInterface.h"
13
15
21{
22public:
24
25
27
31 virtual void open(const char *title) = 0;
32
34
38 virtual void close() = 0;
39
41
47 virtual void show(bool showIfEmpty) = 0;
48
50
56 virtual bool write(LogLevel level, const char *message) = 0;
57
59};
static int level
Definition ArchNetworkWinsock.cpp:30
LogLevel
Log levels.
Definition LogLevel.h:15
Base class of interfaces.
Definition IInterface.h:18
Outputter interface.
Definition ILogOutputter.h:21
virtual bool write(LogLevel level, const char *message)=0
Write a message with level.
virtual void close()=0
Close the outputter.
virtual void open(const char *title)=0
Open the outputter.
virtual void show(bool showIfEmpty)=0
Show the outputter.