|
SDEngine
Game Engine
|
#include <chrono>#include <deque>#include <imgui.h>#include <string>#include <utility>#include <vector>#include <SD/export.hpp>#include <fmt/format.h>#include <quill/Backend.h>#include <quill/LogFunctions.h>#include <quill/core/LogLevel.h>
Include dependency graph for logging.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| struct | sd::log::LogEntry |
| struct | sd::log::CategoryInfo |
Namespaces | |
| namespace | sd |
| namespace | sd::log |
| namespace | sd::log::engine |
| namespace | sd::log::engine::profiler |
| namespace | sd::log::engine::shader |
| namespace | sd::log::engine::renderer |
| namespace | sd::log::engine::ecs |
| namespace | sd::log::engine::network |
| namespace | sd::log::vulkan |
| namespace | sd::log::debug_layer |
Enumerations | |
| enum class | sd::log::LogLevel { sd::log::TRACE = ENGINE_LOG_LEVEL_TRACE , sd::log::DEBUG = ENGINE_LOG_LEVEL_DEBUG , sd::log::INFO = ENGINE_LOG_LEVEL_INFO , sd::log::WARN = ENGINE_LOG_LEVEL_WARN , sd::log::ERROR = ENGINE_LOG_LEVEL_ERROR , sd::log::CRITICAL = ENGINE_LOG_LEVEL_CRITICAL , sd::log::OFF = ENGINE_LOG_LEVEL_OFF , sd::log::GENERAL = 7 } |
Functions | |
| SD_EXPORT std::deque< LogEntry > | sd::log::get_log_history () |
| SD_EXPORT void | sd::log::add_log_entry (LogEntry entry) |
| SD_EXPORT void | sd::log::clear_history () |
| SD_EXPORT size_t | sd::log::get_total_entry_count () |
| SD_EXPORT std::vector< LogEntry > | sd::log::get_entries (size_t offset, size_t count) |
| SD_EXPORT std::vector< CategoryInfo > & | sd::log::get_category_registry () |
| SD_EXPORT void | sd::log::register_category (const char *name, ImVec4 color) |
| bool | sd::log::is_category_under (const std::string &child, const std::string &parent) |
| SD_EXPORT void | sd::log::init () |
| quill::LogLevel | sd::log::to_quill_level (LogLevel level) |
| LogLevel | sd::log::from_quill_level (quill::LogLevel level) |
| quill::Logger * | sd::log::get_category_logger_or_report (const char *categoryPath) |
| #define ENGINE_LOG_LEVEL ENGINE_LOG_LEVEL_INFO |
| #define ENGINE_LOG_LEVEL_CRITICAL 5 |
| #define ENGINE_LOG_LEVEL_DEBUG 1 |
| #define ENGINE_LOG_LEVEL_ENGINE ENGINE_LOG_LEVEL |
| #define ENGINE_LOG_LEVEL_ERROR 4 |
| #define ENGINE_LOG_LEVEL_GAME ENGINE_LOG_LEVEL |
| #define ENGINE_LOG_LEVEL_INFO 2 |
| #define ENGINE_LOG_LEVEL_OFF 6 |
| #define ENGINE_LOG_LEVEL_TRACE 0 |
| #define ENGINE_LOG_LEVEL_WARN 3 |
| #define SD_LOG_CATEGORY_IMPL | ( | CategoryPath, | |
| Level | |||
| ) |