| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Tweaked logging to streamline access, and simplified setup code for new loggers | Stefan Boberg | 2021-09-15 | 1 | -11/+13 |
| | | |||||
| * | Made logging macros always append `sv` string_view literal suffix | Stefan Boberg | 2021-09-15 | 1 | -2/+2 |
| | | | | | Fixed up the few instances of explicit string_view arguments to make sure they compile properly with the new macros | ||||
| * | Changed logging implementation | Stefan Boberg | 2021-09-15 | 1 | -0/+10 |
| | | | | | | | * Code should no longer directly `#include spdlog/spdlog.h`, instead use `#include <zencore/logging.h>` * Instead of explicit calls to `spdlog::info(...)` and such please use the logging macros defined in `zencore/logging.h`. I.e `ZEN_INFO`, `ZEN_DEBUG`, `ZEN_TRACE`, `ZEN_ERROR`, `ZEN_CRITITCAL` * The macros will pick up the "most local" logger via a `Log()` call to retrieve a logger instance. To override the default logger in a class please implement your own `Log()` function | ||||
| * | clang-format | Stefan Boberg | 2021-09-09 | 1 | -2/+4 |
| | | |||||
| * | Moved a bunch of logging code into zencore | Stefan Boberg | 2021-09-08 | 1 | -0/+57 |