mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-15 15:16:12 -04:00
Signed-off-by: Alexey Polyudov <apolyudov@google.com> Change-Id: I9850950db8bd84f0904ea1a413151887f52098cf
29 lines
593 B
C++
29 lines
593 B
C++
#ifndef PLATFORM_IMPL_IOS_LOG_MESSAGE_H_
|
|
#define PLATFORM_IMPL_IOS_LOG_MESSAGE_H_
|
|
|
|
#include "base/logging.h"
|
|
#include "platform/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_IMPL_IOS_LOG_MESSAGE_H_
|