From 8588e7d14dca32eb2c695a9cd49d272aa23cc483 Mon Sep 17 00:00:00 2001 From: Derek Mauro Date: Wed, 6 Dec 2023 08:28:49 -0800 Subject: Avoid leaking an unprefixed VLOG_IS_ON transitively though absl_log.h absl_log.h is supposed to be a mirror of log.h that only uses ABSL_ prefixed macros. This change adds ABSL_VLOG_IS_ON to absl_vlog_is_on.h and uses it in the implementation of VLOG. VLOG_IS_ON is then only exported though vlog_is_on.h. PiperOrigin-RevId: 588435577 Change-Id: Ifa9193afa0b782194b64447f4fedfaf24b72c95a --- absl/log/internal/BUILD.bazel | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'absl/log/internal/BUILD.bazel') diff --git a/absl/log/internal/BUILD.bazel b/absl/log/internal/BUILD.bazel index 0525ac1d..1207737a 100644 --- a/absl/log/internal/BUILD.bazel +++ b/absl/log/internal/BUILD.bazel @@ -153,7 +153,7 @@ cc_library( ":conditions", ":log_message", ":strip", - "//absl/log:vlog_is_on", + "//absl/log:absl_vlog_is_on", ], ) -- cgit v1.2.3