Frameworks (first hits by Google):
http://sourceforge.net/projects/log4cplus/
https://code.google.com/p/google-glog/
http://logging.apache.org/log4cxx/
Frameworks (first hits by Google):
http://sourceforge.net/projects/log4cplus/
https://code.google.com/p/google-glog/
http://logging.apache.org/log4cxx/
Some code snippets for possible later use:
enum class LogLevel { Info, Warning, Error, ... }; logger.Log(LogLevel::Info, "Load layout"); logger.Log(LogLevel::Error, "Loading " + fileName + " failed");
Logger will be adjusted to use Singleton pattern for now, as the Windows build is failing with current inheritance approach (Linux one was fine). Later it can be rewritten to use more loose coupled approach through an injection framework, like https://sites.google.com/site/fruitlib/home. This would also have advantage in deriving the components from a common base, e.g. components as services with access interfaces like REST, RPC, shared memory and so on.