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 <string>
11
#include <switchboard/export.h>
12
#include <switchboard_core/LogLevel.hpp>
13
14
namespace
switchboard {
15
21
class
SWITCHBOARDSDK_EXPORT
LogDestination
{
22
public
:
26
virtual
~LogDestination
() =
default
;
27
34
virtual
void
log
(LogLevel logLevel,
const
std::string& logMessage) = 0;
35
};
36
37
}
switchboard::LogDestination
Provides an interface to implement platform-specific logging.
Definition
LogDestination.hpp:21
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.18.0