![]() |
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,...) |
| log a message only once per unique location | |
| void | _n_nodup_log_indexed (int LEVEL, const char *prefix, const char *file, const char *func, int line, const char *format,...) |
| log a message only once per unique prefix and location | |
| int | close_nodup_log () |
| close the nodup log session | |
| int | dump_nodup_log (char *file) |
| dump the nodup log hash table to a file in human-readable form | |
| int | empty_nodup_table () |
| empty the nodup table | |
| int | init_nodup_log (size_t max) |
| init the nodup log internal hash table | |