Skip to content

Commit

Permalink
[log] Make :vlog_is_on/:absl_vlog_is_on public in BUILD.bazel
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Abseil Team authored and copybara-github committed Mar 15, 2024
1 parent 74df697 commit d0d902e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
6 changes: 0 additions & 6 deletions absl/log/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -243,9 +243,6 @@ cc_library(
hdrs = ["absl_vlog_is_on.h"],
copts = ABSL_DEFAULT_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS,
visibility = [
"//absl/log:__subpackages__",
],
deps = [
"//absl/base:config",
"//absl/base:core_headers",
Expand All @@ -259,9 +256,6 @@ cc_library(
hdrs = ["vlog_is_on.h"],
copts = ABSL_DEFAULT_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS,
visibility = [
"//absl/log:__subpackages__",
],
deps = [
":absl_vlog_is_on",
],
Expand Down
1 change: 0 additions & 1 deletion absl/log/log.h
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,6 @@
#define ABSL_LOG_LOG_H_

#include "absl/log/internal/log_impl.h"
#include "absl/log/vlog_is_on.h" // IWYU pragma: export

// LOG()
//
Expand Down

0 comments on commit d0d902e

Please sign in to comment.