![]() |
Nilorea Library
C utilities for networking, threading, graphics
|
Generic No Dup Log system. More...
Include dependency graph for n_nodup_log.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Macros | |
| #define | n_nodup_log(__LEVEL__, ...) |
| nodup log macro helper | |
| #define | n_nodup_log_indexed(__LEVEL__, __PREF__, ...) |
| nodup log indexed macro helper | |
Functions | |
| void | _n_nodup_log (int LEVEL, const char *file, const char *func, int line, const char *format,...) |
| Logging function. | |
| void | _n_nodup_log_indexed (int LEVEL, const char *prefix, const char *file, const char *func, int line, const char *format,...) |
| Logging function. | |
| int | close_nodup_log () |
| Empty nodup logtable and close the no duplicate logging session. | |
| int | dump_nodup_log (char *file) |
Dump the duplicate error log hash table in a file The table is first written to a temporary file which is then renamed to the final destination and permissions set via rename() and chmod(). | |
| int | empty_nodup_table () |
| Empty the nodup internal table. | |
| int | init_nodup_log (size_t max) |
| initialize the no duplicate logging system | |