diff options
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 9bd7514..7a9ce46 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("Assertion failed:\n\t%s", #expr); \ + LOG(LogLevel_Error, "Assertion failed:\n\t%s", #expr); \ exit(1); \ } \ } while (0) #define LSTD_UNIMPLEMENTED() \ do { \ - LOG0("Unimplemented code reached"); \ + LOG0(LogLevel_Error, "Unimplemented code reached"); \ exit(1); \ } while (0) |
