Skip to content

A high performance, thread safe, pure c logging library.

License

Notifications You must be signed in to change notification settings

lampmanyao/plog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

plog

A high performance, thread safe, pure c logging library.

How to use

Just copy the files to your build tree and use a C compiler

APIs

functions

plog_open() and plog_close() MUST BE called at main thread.

Macros

PLOG_XXXX() could be called EVERYWHERE at your code.

See test/ for more details

Benchmarks

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

About

A high performance, thread safe, pure c logging library.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published