Commit graph

26 commits

Author SHA1 Message Date
5eb7cbff92 Better crash signal handling 2023-08-06 19:07:14 +03:00
f6377045c9 Add red color to stderr logging 2023-08-06 19:00:34 +03:00
85d7a0ca33 Huge refactor: use util::exception everywhere instead of std exceptions 2023-08-06 18:33:07 +03:00
248bd049db Setup default logging sinks to output to stdout/stderr based on log level 2023-08-06 12:56:07 +03:00
d13c097d61 Logging small signal handling refactor & concurrency fixes 2023-08-05 12:46:21 +03:00
0019063c4e Fix flushing logs 2023-08-02 14:01:26 +03:00
54b78e6c66 Android WIP: support OpenGL ES 3.2 and implement Android backend library 2023-07-18 15:43:14 +03:00
d60eb6f659 Flush log on signal 2023-01-04 16:06:34 +03:00
d1960312e6 Add log::log(level) 2022-08-14 23:15:00 +03:00
f3253b1e4a Remove support for log::register_thread(id, name); register thread name for pthread if possible 2022-08-07 11:41:23 +03:00
73820d4844 Support custom sinks in logging 2022-01-21 12:09:10 +03:00
88fa197f8c Add log::level comparison operators 2022-01-21 12:07:53 +03:00
02fb8b49ac Smaller message level string size in logging output 2021-04-19 21:02:01 +03:00
19e0d1a044 Support adding sinks to logging (no default stdout now) 2021-04-19 21:01:39 +03:00
3c4e1f99df Logging: automatically increase max thread name length + properly log thread name if thread unregisters itself 2021-03-05 11:21:05 +03:00
9cba2d1c16 Add thread unregistering in log 2021-03-04 14:29:39 +03:00
d7469920de Clang compilation fixes: use non-template stream output operators 2021-01-18 18:11:01 +03:00
f0611657ac Generate empty source file for libraries with no sources 2021-01-18 18:10:35 +03:00
1771f56508 Fix all stream output operators: operator<< might return a different stream type 2020-11-06 17:34:57 +03:00
95231632a2 More liberal default maximum thread name length 2020-11-06 17:30:05 +03:00
58a30fe347 Fix thread registration 2020-09-30 16:16:08 +03:00
8ece2e1884 Fix log behavior for templated output operators 2020-09-23 13:15:18 +03:00
d2d88ba7c5 Add 'psemek-' prefix to all psemek targets 2020-09-21 09:04:40 +03:00
bc585c6c8f Add REQUIRED to find_package(Threads) 2020-09-21 09:03:28 +03:00
c7dba5eef2 Add pedantic warnings to CMake & fix all warnings 2020-09-13 13:03:31 +03:00
24613010c8 Add logging library 2020-08-27 21:03:24 +03:00