Earlier today I released a new version of ulog which is a lightweight and threadsafe logger with support for C/C++. This release combines a few different changes over the last several months, most notably full support for C++ code, and simplified macro usage for file logging. Below I’ll detail the various improvements
Full Support For C++ Code
It appears that string handling in C++ is slightly different than C, with “strings” defaulting to a const char *
type, whereas in C defaulting to a char *
type. This lead to issues compiling C++ code using ulog
mainly due to the typedefs for the logging functions.