Switchboard Extension SDK
Toggle main menu visibility
Loading...
Searching...
No Matches
LogDestination.hpp
1
//
2
// LogDestination.hpp
3
// SwitchboardSDK
4
//
5
// Created by Balázs Kiss on 2022. 07. 29..
6
//
7
8
#pragma once
9
10
#include <switchboard/export.h>
11
#include <switchboard_core/LogLevel.hpp>
12
13
#include <string>
14
15
namespace
switchboard {
16
22
class
SWITCHBOARDSDK_EXPORT
LogDestination
{
23
public
:
27
virtual
~LogDestination
() =
default
;
28
35
virtual
void
log
(LogLevel logLevel,
const
std::string& logMessage) = 0;
36
};
37
38
}
switchboard::LogDestination
Provides an interface to implement platform-specific logging.
Definition
LogDestination.hpp:22
switchboard::LogDestination::~LogDestination
virtual ~LogDestination()=default
LogDestination destructor.
switchboard::LogDestination::log
virtual void log(LogLevel logLevel, const std::string &logMessage)=0
Logs a log message.
SwitchboardSDK
include
switchboard_core
LogDestination.hpp
Generated by
1.17.0