mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-15 07:06:11 -04:00
Internal changes
PiperOrigin-RevId: 531356884
This commit is contained in:
@@ -54,6 +54,7 @@ cc_library(
|
||||
"//internal/platform:uuid",
|
||||
"//internal/platform/implementation:types",
|
||||
"//internal/platform/implementation/windows/generated:types",
|
||||
"//strings:strappendv",
|
||||
"@com_google_absl//absl/base:core_headers",
|
||||
"@com_google_absl//absl/container:flat_hash_map",
|
||||
"@com_google_absl//absl/functional:any_invocable",
|
||||
|
||||
@@ -15,9 +15,8 @@
|
||||
#include "internal/platform/implementation/windows/log_message.h"
|
||||
|
||||
#include <algorithm>
|
||||
// TODO(b/217211016): may need get rid of this dependency since there is
|
||||
// no "base" in OSS.
|
||||
#include "base/stringprintf.h"
|
||||
|
||||
#include "strings/strappendv.h"
|
||||
|
||||
namespace nearby {
|
||||
namespace windows {
|
||||
@@ -50,7 +49,7 @@ void LogMessage::Print(const char* format, ...) {
|
||||
va_list ap;
|
||||
va_start(ap, format);
|
||||
std::string result;
|
||||
StringAppendV(&result, format, ap);
|
||||
strings::StrAppendV(&result, format, ap);
|
||||
log_streamer_.stream() << result;
|
||||
va_end(ap);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user