mirror of
https://github.com/FAUSheppy/colorredstderr-mirror
synced 2025-12-10 00:48:33 +01:00
Add assert()s.
This commit is contained in:
6
README
6
README
@@ -73,8 +73,12 @@ DEBUG
|
||||
|
||||
To enable debug mode, configure coloredstderr with '--enable-debug'.
|
||||
|
||||
*Important:* Debug mode enables `assert()`s in the code which might abort the
|
||||
process if an error condition is detected!
|
||||
|
||||
Debug mode is slower than normal mode. To log only warnings without the
|
||||
overhead of debug mode use '--enable-warnings'.
|
||||
overhead of debug mode use '--enable-warnings'. `assert()`s are not enabled
|
||||
with '--enable-warnings', so it's safe to use.
|
||||
|
||||
Debug messages are written to the file `colored_stderr_debug_log.txt` in the
|
||||
current working directory _if_ it exists. If it exists debug messages are
|
||||
|
||||
Reference in New Issue
Block a user