A high performance, thread safe, pure c logging library.
Just copy the files to your build tree and use a C compiler
plog_open() and plog_close() MUST BE called at main thread.
PLOG_XXXX() could be called EVERYWHERE at your code.
See test/ for more details
threads | lines per thread | total lines | seconds |
---|---|---|---|
1 | 10,000,000 | 10,000,000 | 4.65 |
2 | 10,000,000 | 20,000,000 | 5.83 |
3 | 10,000,000 | 30,000,000 | 6.60 |
10 | 10,000,000 | 100,000,000 | 31.93 |