Roll forward to cl/333580336

Signed-off-by: Josh Nohle <nohle@google.com>
This commit is contained in:
Josh Nohle
2020-09-24 13:15:16 -07:00
parent af150850cd
commit f53f38144d
56 changed files with 1070 additions and 801 deletions
+28
View File
@@ -0,0 +1,28 @@
#ifndef PLATFORM_V2_IMPL_IOS_LOG_MESSAGE_H_
#define PLATFORM_V2_IMPL_IOS_LOG_MESSAGE_H_
#include "base/logging.h"
#include "platform_v2/api/log_message.h"
namespace location {
namespace nearby {
namespace ios {
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 ios
} // namespace nearby
} // namespace location
#endif // PLATFORM_V2_IMPL_IOS_LOG_MESSAGE_H_