Commit Graph

8 Commits

Author SHA1 Message Date
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
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
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