From b3f2336e1b8f4410515344feb73d992d854c8282 Mon Sep 17 00:00:00 2001 From: Steven Le Rouzic Date: Sun, 26 Jan 2025 22:35:47 +0100 Subject: Implement logging --- asl/log/log_tests.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'asl/log/log_tests.cpp') 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 +#include + +ASL_TEST(log) +{ + asl::log::log(asl::log::kInfo, asl::source_location{}, "Hello, {}!", "world"_sv); + + ASL_LOG_ERROR("Oh no! {}", 42); +} + -- cgit