diff options
-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 | ||||
-rw-r--r-- | todo.txt | 1 |
5 files changed, 8 insertions, 9 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"); } @@ -1,3 +1,2 @@ warning compare with 0 in format_float.cpp -rename log to logging split asl into multiple sublibraries |