|
SDEngine
Game Engine
|
Namespaces | |
| namespace | debug_layer |
| namespace | engine |
| namespace | vulkan |
Classes | |
| class | CategoryConsoleSink |
| struct | CategoryInfo |
| class | ImguiSink |
| struct | LogEntry |
Enumerations | |
| enum class | LogLevel { TRACE = ENGINE_LOG_LEVEL_TRACE , DEBUG = ENGINE_LOG_LEVEL_DEBUG , INFO = ENGINE_LOG_LEVEL_INFO , WARN = ENGINE_LOG_LEVEL_WARN , ERROR = ENGINE_LOG_LEVEL_ERROR , CRITICAL = ENGINE_LOG_LEVEL_CRITICAL , OFF = ENGINE_LOG_LEVEL_OFF , GENERAL = 7 } |
Variables | |
| FILE_INTERNAL_BEGIN constexpr const char * | HISTORY_FILE = "debug_history.log" |
| constexpr size_t | MAX_MEM_ENTRIES = 500 |
| std::deque< LogEntry > | g_log_history |
| size_t | g_file_entry_count = 0 |
| std::mutex | g_log_mutex |
| FILE_INTERNAL_BEGIN std::vector< CategoryInfo > | g_category_registry |
| std::mutex | g_registry_mutex |
| FILE_INTERNAL_BEGIN std::chrono::steady_clock::time_point | s_start_time |
| FILE_INTERNAL_BEGIN std::shared_ptr< quill::Sink > | g_console_sink |
| std::shared_ptr< quill::Sink > | g_imgui_sink |
| std::shared_ptr< quill::Sink > | g_engine_file_sink |
| std::shared_ptr< quill::Sink > | g_game_file_sink |
| std::shared_ptr< quill::Sink > | g_profiler_file_sink |
|
strong |
| std::string sd::log::ansi_fg_color | ( | ImVec4 | c | ) |
| void sd::log::clear_history | ( | ) |
| LogLevel sd::log::from_quill_level | ( | quill::LogLevel | level | ) |
| FILE_INTERNAL_END std::vector< CategoryInfo > & sd::log::get_category_registry | ( | ) |
| FILE_INTERNAL_END std::deque< LogEntry > sd::log::get_log_history | ( | ) |
| size_t sd::log::get_total_entry_count | ( | ) |
| float sd::log::get_uptime_sec | ( | ) |
| void sd::log::init | ( | ) |
| std::string sd::log::level_ansi_color | ( | quill::LogLevel | level | ) |
| FILE_INTERNAL_END void sd::log::register_category | ( | const char * | name, |
| ImVec4 | color | ||
| ) |
| quill::LogLevel sd::log::to_quill_level | ( | LogLevel | level | ) |
| FILE_INTERNAL_BEGIN std::vector<CategoryInfo> sd::log::g_category_registry |
| FILE_INTERNAL_BEGIN std::shared_ptr<quill::Sink> sd::log::g_console_sink |
| std::shared_ptr<quill::Sink> sd::log::g_engine_file_sink |
| size_t sd::log::g_file_entry_count = 0 |
| std::shared_ptr<quill::Sink> sd::log::g_game_file_sink |
| std::shared_ptr<quill::Sink> sd::log::g_imgui_sink |
| std::deque<LogEntry> sd::log::g_log_history |
| std::mutex sd::log::g_log_mutex |
| std::shared_ptr<quill::Sink> sd::log::g_profiler_file_sink |
| std::mutex sd::log::g_registry_mutex |
|
constexpr |
| FILE_INTERNAL_BEGIN std::chrono::steady_clock::time_point sd::log::s_start_time |