Logging improvements and C++23 (#206)

- Improved logging code by splitting functionality up into different files
- Set C++23 as new standard (it was already the implied standard due to some code, but now it's explicit)
This commit is contained in:
Ken Van Hoeylandt
2025-02-06 22:55:51 +01:00
committed by GitHub
parent 6337458992
commit 88b3bfbe3e
13 changed files with 175 additions and 164 deletions
@@ -0,0 +1,15 @@
#pragma once
namespace tt {
/** Used for log output filtering */
enum class LogLevel : int {
None = 0, /*!< No log output */
Error, /*!< Critical errors, software module can not recover on its own */
Warning, /*!< Error conditions from which recovery measures have been taken */
Info, /*!< Information messages which describe normal flow of events */
Debug, /*!< Extra information which is not necessary for normal use (values, pointers, sizes, etc). */
Verbose /*!< Bigger chunks of debugging information, or frequent messages which can potentially flood the output. */
};
}