add logging functionality
author Christoph Pfister
()
committer Christoph Pfister
()
commit efe5174732afcd3d7c89b7130a0e0aa70f476850
tree ca84c44a777daeb3c341b206335974c925ed8d25
parent 485b5736be71a8099a4cca23a96d6ff5e9ac4155
add logging functionality

- add time stamps to log statements
- print messages to stderr and keep them in a ring buffer
(allows easier debugging)
- update_source.sh updates the function names in the log statements
and does some basic coding style checks
src/CMakeLists.txt
src/log.cpp [ new file with mode 0644 ]
src/log.h [ new file with mode 0644 ]
src/sqlinterface.cpp
tools/CMakeLists.txt
tools/update_source.sh [ new file with mode 0755 ]
tools/updatesource.cpp [ new file with mode 0644 ]