diff options
Diffstat (limited to 'NorthstarDLL/logging/sourceconsole.h')
-rw-r--r-- | NorthstarDLL/logging/sourceconsole.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/NorthstarDLL/logging/sourceconsole.h b/NorthstarDLL/logging/sourceconsole.h index 3abcc470..44d73843 100644 --- a/NorthstarDLL/logging/sourceconsole.h +++ b/NorthstarDLL/logging/sourceconsole.h @@ -5,14 +5,14 @@ class EditablePanel { - public: +public: virtual ~EditablePanel() = 0; unsigned char unknown[0x2B0]; }; class IConsoleDisplayFunc { - public: +public: virtual void ColorPrint(const SourceColor& clr, const char* pMessage) = 0; virtual void Print(const char* pMessage) = 0; virtual void DPrint(const char* pMessage) = 0; @@ -24,7 +24,7 @@ class CConsolePanel : public EditablePanel, public IConsoleDisplayFunc class CConsoleDialog { - public: +public: struct VTable { void* unknown[298]; @@ -38,7 +38,7 @@ class CConsoleDialog class CGameConsole { - public: +public: virtual ~CGameConsole() = 0; // activates the console, makes it visible and brings it to the foreground @@ -66,7 +66,7 @@ extern SourceInterface<CGameConsole>* g_pSourceGameConsole; // spdlog logger class SourceConsoleSink : public CustomSink { - private: +private: std::map<spdlog::level::level_enum, SourceColor> m_LogColours = { {spdlog::level::trace, NS::Colors::TRACE.ToSourceColor()}, {spdlog::level::debug, NS::Colors::DEBUG.ToSourceColor()}, @@ -76,7 +76,7 @@ class SourceConsoleSink : public CustomSink {spdlog::level::critical, NS::Colors::CRIT.ToSourceColor()}, {spdlog::level::off, NS::Colors::OFF.ToSourceColor()}}; - protected: +protected: void custom_sink_it_(const custom_log_msg& msg); void sink_it_(const spdlog::details::log_msg& msg) override; void flush_() override; |