Switchboard Extension SDK
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 "LogLevel.hpp"
11
12#include <string>
13
14namespace switchboard {
15
22public:
26 virtual ~LogDestination() {}
27
34 virtual void log(const LogLevel logLevel, const std::string& logMessage) = 0;
35};
36
37}
Provides an interface to implement platform-specific logging.
Definition LogDestination.hpp:21
virtual ~LogDestination()
LogDestination destructor.
Definition LogDestination.hpp:26
virtual void log(const LogLevel logLevel, const std::string &logMessage)=0
Logs a log message.