#ifndef MEDIAPIPE_PORT_LOGGING_H_
#define MEDIAPIPE_PORT_LOGGING_H_
#include "absl/time/time.h"
#ifdef _WIN32
#define GLOG_NO_ABBREVIATED_SEVERITIES
#endif
#include <cstddef>
#include <ostream>
#include <type_traits>
#include <vector>
#include "absl/strings/has_ostream_operator.h"
#include "glog/logging.h"
namespace std {
template <typename... Ts, typename = std::enable_if_t<absl::HasOstreamOperator<
typename std::vector<Ts...>::value_type>::value>>
std::ostream& operator<<(std::ostream& out, const std::vector<Ts...>& v) { … }
}
namespace mediapipe {
LogSeverity;
const auto SetVLOGLevel = …;
class LogEntry { … };
class LogSink : public google::LogSink { … };
inline void AddLogSink(LogSink* destination) { … }
inline void RemoveLogSink(LogSink* destination) { … }
}
#endif