mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-15 15:16:12 -04:00
30 lines
658 B
C++
30 lines
658 B
C++
#ifndef PLATFORM_V2_IMPL_G3_LOG_MESSAGE_H_
|
|
#define PLATFORM_V2_IMPL_G3_LOG_MESSAGE_H_
|
|
|
|
#include "base/logging.h"
|
|
#include "platform_v2/api/log_message.h"
|
|
|
|
namespace location {
|
|
namespace nearby {
|
|
namespace g3 {
|
|
|
|
// See documentation in cpp/platform_v2/api/log_message.h
|
|
class LogMessage : public api::LogMessage {
|
|
public:
|
|
LogMessage(const char* file, int line, Severity severity);
|
|
~LogMessage() override;
|
|
|
|
void Print(const char* format, ...) override;
|
|
|
|
std::ostream& Stream() override;
|
|
|
|
private:
|
|
absl::LogStreamer log_streamer_;
|
|
};
|
|
|
|
} // namespace g3
|
|
} // namespace nearby
|
|
} // namespace location
|
|
|
|
#endif // PLATFORM_V2_IMPL_G3_LOG_MESSAGE_H_
|