-
Notifications
You must be signed in to change notification settings - Fork 0
A simple yet fast and bare minimal Logging library for C
License
bharatvaj/libclog
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
clog ==== A simple yet fast and bare minimal thread-safe logging library for C Installation ------------ On Linux/Unix systems including macOS, libraries can be built using the following commands make sudo make install Usage ----- #include <clog.h> clog_enable(); // enable clog CLOG_I("%s", "test"); // log info CLOG_W("%s", "test"); // log warning CLOG_E("%s", "test"); // log error CLOG_V("%s", "test"); // log verbose messages Output ------ clog by default prints to stderr but can to any given `FILE *` opened write or append mode #include <stdio.h> ... FILE *fp = fopen("log.txt", "w"); clog_out(fp);
About
A simple yet fast and bare minimal Logging library for C
Topics
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published