From 520271db3fbf7f0cf488322a024c0f2f3cfecdc9 Mon Sep 17 00:00:00 2001 From: Clement Sibille Date: Mon, 20 May 2024 23:08:52 +0900 Subject: Remove LOG0 macros Now LOG can be used in all cases --- src/lisiblestd/assert.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lisiblestd/assert.h') diff --git a/src/lisiblestd/assert.h b/src/lisiblestd/assert.h index 7a9ce46..9bd998b 100644 --- a/src/lisiblestd/assert.h +++ b/src/lisiblestd/assert.h @@ -8,14 +8,14 @@ extern void exit(int); #define LSTD_ASSERT(expr) \ do { \ if (!(expr)) { \ - LOG(LogLevel_Error, "Assertion failed:\n\t%s", #expr); \ + LOG_ERROR("Assertion failed:\n\t%s", #expr); \ exit(1); \ } \ } while (0) #define LSTD_UNIMPLEMENTED() \ do { \ - LOG0(LogLevel_Error, "Unimplemented code reached"); \ + LOG_ERROR("Unimplemented code reached"); \ exit(1); \ } while (0) -- cgit v1.2.3