SimpleLogger
SimpleLogger copied to clipboard
Basic logger for C and C++ projects
This is unusual.
#define LOG_VERBOSE(format, args...) simplog.writeLog(SIMPLOG_VERBOSE, format, ##args) #define LOG_DEBUG(format, args...) simplog.writeLog(SIMPLOG_DEBUG, format, ##args) #define LOG_INFO(format, args...) simplog.writeLog(SIMPLOG_INFO, format, ##args) #define LOG_WARN(format, args...) simplog.writeLog(SIMPLOG_WARN, format, ##args) #define LOG_ERROR(format, args...) simplog.writeLog(SIMPLOG_ERROR, format, ##args)...
A basic program to find sum of digits of number
I have looked at a few source files for your current software. I have noticed that some checks for return codes are missing. Would you like to add more error...
Would you like to replace [defines for constant values](https://github.com/ntpeters/SimpleLogger/blob/547828cf5e37b7fd1ea8d0ae2da2cfc582a1b11f/simplog.h#L19) by [enumerations](http://en.wikipedia.org/wiki/Enumerated_type#C_and_syntactically_similar_languages) to stress their relationships?
Currently the logger is not guaranteed to be thread safe. I am working on making it so that it will be.
I am unsure why this does not work on OS X, but gaddr2line fails to execute properly. Stacktraces will fallback on the default (non-pretty) version whenever construction of the pretty...