Commit Graph

16 Commits

Author SHA1 Message Date
08566fde6c debug: don't include assert.hpp if you don't use it 2021-04-12 16:12:08 +10:00
2c7eb400c3 debug: move warning code into warn header 2021-04-12 15:53:13 +10:00
8bfb1e3d92 log: make once_flag constinit
This ensures we'll error out at compile time rather than encounter a
static initialisation ordering error.
2020-08-03 11:48:48 +10:00
f178159fba log: prefer once_flag over an atomic<bool> 2020-08-03 11:47:45 +10:00
837b948435 Header cleanup using include-what-you-use 2020-07-01 17:02:44 +10:00
aa4a79aae2 log/level: expose enumeration reflection setup 2020-04-23 07:58:21 +10:00
607031a041 log/sink: simply and rename the ostream sink as path 2020-04-21 12:42:05 +10:00
8961f097cd log: choose sink based on LOG_SINK 2020-04-21 10:56:04 +10:00
c481a7cf38 log/sink: implement ostream sink 2020-04-21 10:55:47 +10:00
5cc0688b35 log/sink/console: use override 2020-04-21 10:55:03 +10:00
cf196fe601 log/sink/console: remove unneeded header 2020-04-21 10:54:51 +10:00
78608c2a61 log/level: move level_width query into level unit 2020-04-21 10:54:10 +10:00
44abca88d6 log: workaround mingw's lack of once_flag 2019-10-21 12:46:43 +11:00
7a5fa7fa2d log: allow setting the default_sink 2019-10-10 16:02:10 +11:00
67ea686753 log: modularise the logging infrastructure 2019-10-10 15:52:37 +11:00
fa9f537e59 log: prepare to expand headers 2019-10-10 15:10:41 +11:00