From c96db73c09dbb528eca6d19a50bd258b37e9fd5e Mon Sep 17 00:00:00 2001 From: Mike Kruskal Date: Tue, 6 Dec 2022 13:55:58 -0800 Subject: Create alternate absl-prefixed versions of absl logging macros. This will allow OSS code to use absl logging without necessarily polluting the preprocessor symbols with definitions for LOG and CHECK PiperOrigin-RevId: 493404211 Change-Id: I7bc5807252218dd7fc26da3af13d5734ef8b2601 --- absl/log/log_basic_test.cc | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 absl/log/log_basic_test.cc (limited to 'absl/log/log_basic_test.cc') diff --git a/absl/log/log_basic_test.cc b/absl/log/log_basic_test.cc new file mode 100644 index 00000000..b8d87c94 --- /dev/null +++ b/absl/log/log_basic_test.cc @@ -0,0 +1,21 @@ +// +// Copyright 2022 The Abseil Authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#include "absl/log/log.h" + +#define ABSL_TEST_LOG LOG + +#include "gtest/gtest.h" +#include "absl/log/log_basic_test_impl.h" -- cgit v1.2.3