Commit graph

12 commits

Author SHA1 Message Date
FranciscoPombal
6152b83405 Use #pragma once instead of include guards 2020-12-12 19:41:32 +00:00
Chocobo1
498da509db
Use Qt provided forward declaration header 2020-12-09 18:21:02 +08:00
Chocobo1
648d44d9b9
Reduce padding in structure
Log::Msg originally takes 32 bytes, now shrinks to 24 bytes.
Log::Peer originally takes 40 bytes, now shrinks to 32 bytes.
2020-04-18 18:33:46 +08:00
Chocobo1
04fd6e9d04
Avoid performance penalty when logger is full 2019-03-15 14:29:06 +08:00
thalieht
89dce36e98 Use uniform initialization on some default arguments 2019-02-25 17:05:15 +02:00
Chocobo1
f789df7edf
Add license header 2019-02-04 17:28:55 +08:00
thalieht
20ca90800d Fix coding style 2018-05-09 17:06:22 +03:00
sledgehammer999
fd7e69e1e0
Add helper function for logging messages. 2017-04-26 02:33:56 +03:00
sledgehammer999
663791fac2 Raise the max log entries limit. 2016-03-26 01:39:13 +02:00
sledgehammer999
73832a5ed8 Add ability to filter log messages by type. 2016-03-26 01:39:13 +02:00
Vladimir Golovnev (Glassez)
9bdd26de43 Simplify Log::Msg and Log::Peer
Also fixes some unitialized scalar field bugs.
2016-01-15 08:50:36 +03:00
Vladimir Golovnev (Glassez)
9db93e5d8f Rename Core to Base (Closes #3733). 2015-12-06 14:27:00 +03:00
Renamed from src/core/logger.h (Browse further)