Skip to content

Commit d0d902e

Browse files
Abseil Teamcopybara-github
authored andcommitted
[log] Make :vlog_is_on/:absl_vlog_is_on public in BUILD.bazel
No longer include vlog_is_on.h from log.h. This is a breaking change. To use VLOG_IS_ON(), absl/log/vlog_is_on.h must be included, not log.h. PiperOrigin-RevId: 616045708 Change-Id: I59261eb5c28846557b43b040e187ec3ef36e4132
1 parent 74df697 commit d0d902e

2 files changed

Lines changed: 0 additions & 7 deletions

File tree

absl/log/BUILD.bazel

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -243,9 +243,6 @@ cc_library(
243243
hdrs = ["absl_vlog_is_on.h"],
244244
copts = ABSL_DEFAULT_COPTS,
245245
linkopts = ABSL_DEFAULT_LINKOPTS,
246-
visibility = [
247-
"//absl/log:__subpackages__",
248-
],
249246
deps = [
250247
"//absl/base:config",
251248
"//absl/base:core_headers",
@@ -259,9 +256,6 @@ cc_library(
259256
hdrs = ["vlog_is_on.h"],
260257
copts = ABSL_DEFAULT_COPTS,
261258
linkopts = ABSL_DEFAULT_LINKOPTS,
262-
visibility = [
263-
"//absl/log:__subpackages__",
264-
],
265259
deps = [
266260
":absl_vlog_is_on",
267261
],

absl/log/log.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,6 @@
198198
#define ABSL_LOG_LOG_H_
199199

200200
#include "absl/log/internal/log_impl.h"
201-
#include "absl/log/vlog_is_on.h" // IWYU pragma: export
202201

203202
// LOG()
204203
//

0 commit comments

Comments
 (0)