Removed logger.c and added logger.cpp because library cannot build. Refactored some functions.
Logger.cpp was renamed to Logger.c. But I should add extern to be able C++ invocations