summaryrefslogtreecommitdiff
path: root/asl/log/log_tests.cpp
diff options
context:
space:
mode:
authorSteven Le Rouzic <steven.lerouzic@gmail.com>2025-01-26 22:35:47 +0100
committerSteven Le Rouzic <steven.lerouzic@gmail.com>2025-01-26 22:45:42 +0100
commitb3f2336e1b8f4410515344feb73d992d854c8282 (patch)
tree5b4de235b46a6081206b17761acc1bab1ea5c720 /asl/log/log_tests.cpp
parentcf7db48c261ee9c896c813a38ff8c59da5b8fe07 (diff)
Implement logging
Diffstat (limited to 'asl/log/log_tests.cpp')
-rw-r--r--asl/log/log_tests.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/asl/log/log_tests.cpp b/asl/log/log_tests.cpp
index e69de29..01e8fd7 100644
--- a/asl/log/log_tests.cpp
+++ b/asl/log/log_tests.cpp
@@ -0,0 +1,10 @@
+#include <asl/log/log.hpp>
+#include <asl/testing/testing.hpp>
+
+ASL_TEST(log)
+{
+ asl::log::log(asl::log::kInfo, asl::source_location{}, "Hello, {}!", "world"_sv);
+
+ ASL_LOG_ERROR("Oh no! {}", 42);
+}
+