summaryrefslogtreecommitdiff
path: root/asl
diff options
context:
space:
mode:
authorSteven Le Rouzic <steven.lerouzic@gmail.com>2025-02-12 23:34:47 +0100
committerSteven Le Rouzic <steven.lerouzic@gmail.com>2025-02-12 23:34:47 +0100
commitcb77cbe9ce4cddad6a460aa190ff70f0c13e4703 (patch)
treeeb63a44f6264893ba803ff27db2faa59d644b0e9 /asl
parente297b4182b735d97d5251361854acd2fccb03013 (diff)
Rename log to logging
Diffstat (limited to 'asl')
-rw-r--r--asl/logging/BUILD.bazel (renamed from asl/log/BUILD.bazel)10
-rw-r--r--asl/logging/logging.cpp (renamed from asl/log/log.cpp)2
-rw-r--r--asl/logging/logging.hpp (renamed from asl/log/log.hpp)0
-rw-r--r--asl/logging/logging_tests.cpp (renamed from asl/log/log_tests.cpp)4
4 files changed, 8 insertions, 8 deletions
diff --git a/asl/log/BUILD.bazel b/asl/logging/BUILD.bazel
index 51f41df..396da74 100644
--- a/asl/log/BUILD.bazel
+++ b/asl/logging/BUILD.bazel
@@ -1,10 +1,10 @@
cc_library(
- name = "log",
+ name = "logging",
srcs = [
- "log.cpp",
+ "logging.cpp",
],
hdrs = [
- "log.hpp",
+ "logging.hpp",
],
deps = [
"//asl",
@@ -15,10 +15,10 @@ cc_library(
cc_test(
name = "tests",
srcs = [
- "log_tests.cpp"
+ "logging_tests.cpp"
],
deps = [
- ":log",
+ ":logging",
"//asl/testing",
],
visibility = ["//visibility:public"],
diff --git a/asl/log/log.cpp b/asl/logging/logging.cpp
index af31a84..aa630ac 100644
--- a/asl/log/log.cpp
+++ b/asl/logging/logging.cpp
@@ -1,4 +1,4 @@
-#include "asl/log/log.hpp"
+#include "asl/logging/logging.hpp"
#include "asl/print.hpp"
#include "asl/string_builder.hpp"
diff --git a/asl/log/log.hpp b/asl/logging/logging.hpp
index 81f10e7..81f10e7 100644
--- a/asl/log/log.hpp
+++ b/asl/logging/logging.hpp
diff --git a/asl/log/log_tests.cpp b/asl/logging/logging_tests.cpp
index b174fd3..ebbf800 100644
--- a/asl/log/log_tests.cpp
+++ b/asl/logging/logging_tests.cpp
@@ -1,4 +1,4 @@
-#include "asl/log/log.hpp"
+#include "asl/logging/logging.hpp"
#include "asl/testing/testing.hpp"
#include "asl/string_builder.hpp"
@@ -18,6 +18,6 @@ ASL_TEST(custom_writer)
ASL_LOG_INFO("Hello");
auto sv = g_string_writer.as_string_view();
- ASL_TEST_EXPECT(sv == "[ INFO ] asl/log/log_tests.cpp:18: Hello\n");
+ ASL_TEST_EXPECT(sv == "[ INFO ] asl/logging/logging_tests.cpp:18: Hello\n");
}