Nilorea Library
C utilities for networking, threading, graphics
n_nodup_log.h File Reference

Generic No Dup Log system. More...

#include "n_common.h"
#include "n_log.h"
#include "n_str.h"
#include "n_list.h"
#include "n_hash.h"
+ 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 More...
 
#define n_nodup_log_indexed(__LEVEL__, __PREF__, ...)
 nodup log indexed macro helper More...
 

Functions

void _n_nodup_log (int LEVEL, const char *file, const char *func, int line, const char *format,...)
 Logging function. More...
 
void _n_nodup_log_indexed (int LEVEL, const char *prefix, const char *file, const char *func, int line, const char *format,...)
 Logging function. More...
 
int close_nodup_log ()
 Empty nodup logtable and close the no duplicate logging session. More...
 
int dump_nodup_log (char *file)
 Dump the duplicate error log hash table in a file. More...
 
int empty_nodup_table ()
 Empty the nodup internal table. More...
 
int init_nodup_log (int max)
 initialize the no duplicate logging system More...
 

Detailed Description

Generic No Dup Log system.

Author
Castagnier Mickael
Date
2013-04-15

Definition in file n_nodup_log.h.