Applied ABSL logging for NC on Windows

PiperOrigin-RevId: 668013978
This commit is contained in:
Guogang Li
2024-08-27 09:17:38 -07:00
committed by Copybara-Service
parent 163dbe6589
commit 02a2f2e47a
3 changed files with 9 additions and 4 deletions
@@ -51,8 +51,6 @@ cc_library(
visibility = ["//sharing/internal/impl/windows:__pkg__"],
deps = [
":comm",
"//base",
"//base:stringprintf",
"//internal/base:bluetooth_address",
"//internal/base:files",
"//internal/flags:nearby_flags",
@@ -65,6 +63,7 @@ cc_library(
"@com_google_absl//absl/base:core_headers",
"@com_google_absl//absl/container:flat_hash_map",
"@com_google_absl//absl/functional:any_invocable",
"@com_google_absl//absl/log",
"@com_google_absl//absl/memory",
"@com_google_absl//absl/strings",
"@com_google_absl//absl/synchronization",
@@ -14,9 +14,13 @@
#include "internal/platform/implementation/windows/log_message.h"
#include <algorithm>
#include <cstdarg>
#include <ostream>
#include <string>
#include "strings/strappendv.h"
#include "absl/base/log_severity.h"
#include "internal/platform/implementation/log_message.h"
namespace nearby {
namespace windows {
@@ -15,7 +15,9 @@
#ifndef PLATFORM_IMPL_WINDOWS_LOG_MESSAGE_H_
#define PLATFORM_IMPL_WINDOWS_LOG_MESSAGE_H_
#include "glog/logging.h"
#include <ostream>
#include "absl/log/log_streamer.h"
#include "internal/platform/implementation/log_message.h"
namespace nearby {