diff options
author | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2025-01-26 22:35:47 +0100 |
---|---|---|
committer | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2025-01-26 22:45:42 +0100 |
commit | b3f2336e1b8f4410515344feb73d992d854c8282 (patch) | |
tree | 5b4de235b46a6081206b17761acc1bab1ea5c720 /asl/log/log_tests.cpp | |
parent | cf7db48c261ee9c896c813a38ff8c59da5b8fe07 (diff) |
Implement logging
Diffstat (limited to 'asl/log/log_tests.cpp')
-rw-r--r-- | asl/log/log_tests.cpp | 10 |
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); +} + |