summaryrefslogtreecommitdiff
path: root/asl/logging
diff options
context:
space:
mode:
authorSteven Le Rouzic <steven.lerouzic@gmail.com>2025-03-02 01:25:07 +0100
committerSteven Le Rouzic <steven.lerouzic@gmail.com>2025-03-02 01:39:34 +0100
commit8604c98df53486208cdc15424aae9d9b2fef2d8e (patch)
treed7a8564846316028294a906d654db38b5313413d /asl/logging
parent62cc4b468b4e8653d8ef523fc4081572c6c1c7d8 (diff)
Apply licenses with rules_license
Diffstat (limited to 'asl/logging')
-rw-r--r--asl/logging/BUILD.bazel4
-rw-r--r--asl/logging/logging_tests.cpp2
2 files changed, 5 insertions, 1 deletions
diff --git a/asl/logging/BUILD.bazel b/asl/logging/BUILD.bazel
index 1ddefff..f565916 100644
--- a/asl/logging/BUILD.bazel
+++ b/asl/logging/BUILD.bazel
@@ -2,6 +2,10 @@
#
# SPDX-License-Identifier: BSD-3-Clause
+package(
+ default_applicable_licenses = ["//:license"],
+)
+
cc_library(
name = "logging",
srcs = [
diff --git a/asl/logging/logging_tests.cpp b/asl/logging/logging_tests.cpp
index b4c9fa6..ec47a8a 100644
--- a/asl/logging/logging_tests.cpp
+++ b/asl/logging/logging_tests.cpp
@@ -27,6 +27,6 @@ ASL_TEST(custom_writer)
ASL_LOG_INFO("Hello");
auto sv = string_writer.as_string_view();
- ASL_TEST_EXPECT(sv == "[ INFO ] asl/logging/logging_tests.cpp:23: Hello\n");
+ ASL_TEST_EXPECT(sv == "[ INFO ] asl/logging/logging_tests.cpp:27: Hello\n");
}