clog icon indicating copy to clipboard operation
clog copied to clipboard

Lightweight logger for C/C++ programs, implemented as a single header file.

Results 5 clog issues
Sort by recently updated
recently updated
newest added

In CGDB, we don't use O_APPEND and we do use O_TRUNC. Can this be configurable?

The function clog_info (/_debug/..) is now replaced by a variadic macro that "knows" the linenumber where it is. This change is due, because the dependency on `va_copy` already kind of...

clog is really tiny and easy-use. I found a comfortable-look way for clog fmt, and add function option for that. `#define CLOG_DEFAULT_FORMAT "%d %t [%l][%F]%m[%f(%n)]\n` while looks like following: 2017-05-24...

1. add log level CLOG_ALWAYS to ignore the level configuration. 2. add %i in format string to log thread id.