SmartSpectra C++ SDK
Measure human vitals from video with SmartSpectra C++ SDK.
Loading...
Searching...
No Matches
glog_sink.hpp
1#pragma once
2
3#include <glog/logging.h>
4#include "log_buffer.hpp"
5
6namespace presage::smartspectra::grpc_bindings {
7
8class GlogSink : public google::LogSink {
9public:
10 explicit GlogSink(LogBuffer& buffer);
11 void send(google::LogSeverity severity, const char* full_filename,
12 const char* base_filename, int line,
13 const struct tm* tm_time, const char* message, size_t message_len) override;
14
15private:
16 LogBuffer& buffer;
17};
18
19} // namespace presage::smartspectra::grpc_bindings