|
QuasarEngine
Cross-platform 3D engine and editor
|
Engine and application loggers, and the macros to write to them. More...
#include <quasar/core/PlatformDetection.h>#include <spdlog/spdlog.h>#include <cstddef>#include <memory>Go to the source code of this file.
Classes | |
| class | Quasar::Log |
| The loggers for the engine and the application. More... | |
Namespaces | |
| namespace | Quasar |
| Contains all the engine code. | |
Macros | |
| #define | QUASAR_ENGINE_TRACE(...) |
| Writes a trace message from the engine. | |
| #define | QUASAR_TRACE(...) |
| Writes a trace message from the application. | |
| #define | QUASAR_ENGINE_INFO(...) |
| Writes an info message from the engine. | |
| #define | QUASAR_ENGINE_WARN(...) |
| Writes a warning message from the engine. | |
| #define | QUASAR_ENGINE_ERROR(...) |
| Writes an error message from the engine. | |
| #define | QUASAR_INFO(...) |
| Writes an info message from the application. | |
| #define | QUASAR_WARN(...) |
| Writes a warning message from the application. | |
| #define | QUASAR_ERROR(...) |
| Writes an error message from the application. | |
Engine and application loggers, and the macros to write to them.
The macros take a format string and its arguments, with the fmt syntax: QUASAR_ENGINE_INFO("Loaded {} meshes", count). Engine code uses the QUASAR_ENGINE_ macros, and application code uses the QUASAR_ macros. Messages written before Log::Init() or after Log::Shutdown() go to the error output.
| #define QUASAR_ENGINE_TRACE | ( | ... | ) |
Writes a trace message from the engine.
Removed from Release builds, where its arguments are still checked by the compiler but never evaluated.
| #define QUASAR_TRACE | ( | ... | ) |
Writes a trace message from the application.
Removed from Release builds, where its arguments are still checked by the compiler but never evaluated.
| #define QUASAR_ENGINE_INFO | ( | ... | ) |
Writes an info message from the engine.
The message is written in Debug and Release builds.
| #define QUASAR_ENGINE_WARN | ( | ... | ) |
Writes a warning message from the engine.
The message is written in Debug and Release builds.
| #define QUASAR_ENGINE_ERROR | ( | ... | ) |
Writes an error message from the engine.
The message is written in Debug and Release builds.
| #define QUASAR_INFO | ( | ... | ) |
Writes an info message from the application.
The message is written in Debug and Release builds.
| #define QUASAR_WARN | ( | ... | ) |
Writes a warning message from the application.
The message is written in Debug and Release builds.
| #define QUASAR_ERROR | ( | ... | ) |
Writes an error message from the application.
The message is written in Debug and Release builds.