Files
nearby/cpp/platform_v2/impl/g3/log_message.h
T
Alexey Polyudov 412273d317 Merge branch 'google3'
Change-Id: I2c5f890e76873090819e7569b214af829bfd0daf
2020-06-24 10:57:51 -07:00

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_