Fixup for LOG system.

Register all channels at program initialization and allow duplicates.
This commit is contained in:
Nekotekina 2020-01-31 12:01:17 +03:00
parent 59a0f810b9
commit 007a7a5859
27 changed files with 63 additions and 105 deletions

View file

@ -24,7 +24,7 @@ constexpr auto qstr = QString::fromStdString;
struct gui_listener : logs::listener
{
atomic_t<logs::level> enabled{logs::level::_uninit};
atomic_t<logs::level> enabled{logs::level{UINT_MAX}};
struct packet_t
{