Rename log to logging
This commit is contained in:
@ -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"],
|
@ -1,4 +1,4 @@
|
||||
#include "asl/log/log.hpp"
|
||||
#include "asl/logging/logging.hpp"
|
||||
#include "asl/print.hpp"
|
||||
#include "asl/string_builder.hpp"
|
||||
|
@ -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");
|
||||
}
|
||||
|
Reference in New Issue
Block a user