Commit graph

16 commits

Author SHA1 Message Date
f6377045c9 Add red color to stderr logging 2023-08-06 19:00:34 +03:00
248bd049db Setup default logging sinks to output to stdout/stderr based on log level 2023-08-06 12:56:07 +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
1771f56508 Fix all stream output operators: operator<< might return a different stream type 2020-11-06 17:34:57 +03:00
8ece2e1884 Fix log behavior for templated output operators 2020-09-23 13:15:18 +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