Commit Graph

66 Commits

Author SHA1 Message Date
Martin Pulec
c2ff176904 Logger: suppress repeated messages 2020-11-05 09:07:45 +01:00
Martin Pulec
236f5b0589 Make: added target check and distcheck
+ added check for CppUnit
2019-11-19 08:22:50 +01:00
Martin Pulec
4c71573a89 Fixed first series of Coverity bugs 2019-11-09 17:20:37 +01:00
Martin Pulec
31d9809fcd Updated documentation
Updated authors, copyright to 3-clause BSD (where possible) and file-level Doxygen
2019-11-09 13:47:11 +01:00
Martin Pulec
5027f4ecc4 Logger: moved most of the logic to C++ stream
Most of the logic was moved to the C++ implementation, log_msg() is now
using the ostream.

This allows use of colors from rang.hpp also in log messages.
2019-06-26 16:25:49 +02:00
Martin Pulec
921d094444 Debug: use the rang library for color output 2018-09-20 16:33:33 +02:00
Martin Pulec
234348ebee log_msg: do not use colors in MSYS2 terminal
MSYS2 pseudoterminal doesn't handle MSW terminal colors, it uses POSIX
colors instead.
2018-07-24 09:38:47 +02:00
Martin Pulec
78537aada6 Log: color output for MSW + small rewrite 2017-02-06 17:18:45 +01:00
Martin Pulec
8beab28cac Log: use write and lock internally 2017-02-06 17:18:45 +01:00
Martin Pulec
e4a31eec9f Small fixes
* format string in debug
* quit SDL subsystem
* some assertions in src/video_frame.c to check allocation success
2016-10-06 09:18:31 +02:00
Martin Pulec
3b1ce04581 Debug output: timestamps with ms granularity 2016-05-02 11:39:39 +02:00
Martin Pulec
655d5917e3 Improved logging
Some optimalizations + print timestamps in verbose and debug mode.
2015-09-26 21:26:29 +02:00
Martin Pulec
cecf08ac97 Various fixes 2015-07-14 17:15:29 +02:00
Martin Pulec
966751bc26 Renamed log level panic to fatal 2015-07-13 13:09:47 +02:00
Martin Pulec
715dca1bc3 Displays and capturers use now log_msg() for periodic messages 2015-07-13 11:09:37 +02:00
Martin Pulec
625b5adc0f Rewritten logging a bit
Use logger + levels of verboseness.
2015-07-10 16:42:26 +02:00