diff options
| author | Clement Sibille <clements+git@lisible.xyz> | 2024-05-20 23:08:52 +0900 |
|---|---|---|
| committer | Clement Sibille <clements+git@lisible.xyz> | 2024-05-20 23:08:52 +0900 |
| commit | 520271db3fbf7f0cf488322a024c0f2f3cfecdc9 (patch) | |
| tree | d43971d53b4dc38b8c909332c8a3520866783fb2 /src/lisiblestd/assert.h | |
| parent | 06adbda82803d81f565eb72b42f35339eb5c2720 (diff) | |
Remove LOG0 macros
Now LOG can be used in all cases
Diffstat (limited to 'src/lisiblestd/assert.h')
| -rw-r--r-- | src/lisiblestd/assert.h | 4 |
1 files changed, 2 insertions, 2 deletions
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) |
