Add code separators

This commit is contained in:
Rick van Vonderen
2019-12-20 03:28:01 +01:00
parent f2f2bccc90
commit c99af0fbca
3 changed files with 9 additions and 0 deletions
+2
View File
@@ -12,4 +12,6 @@
#include "inferno/entrypoint.h" #include "inferno/entrypoint.h"
// -----------------------------------------
#endif // INFERNO_H #endif // INFERNO_H
+4
View File
@@ -6,6 +6,8 @@ namespace Inferno {
std::shared_ptr<Logger> Log::m_coreLogger; std::shared_ptr<Logger> Log::m_coreLogger;
std::shared_ptr<Logger> Log::m_gameLogger; std::shared_ptr<Logger> Log::m_gameLogger;
// -----------------------------------------
void Log::initialize() void Log::initialize()
{ {
// Create engine Logger // Create engine Logger
@@ -16,6 +18,8 @@ namespace Inferno {
NF_CORE_INFO("Log initialized"); NF_CORE_INFO("Log initialized");
} }
// -----------------------------------------
Logger::Logger(const char* name) : Logger::Logger(const char* name) :
m_name(name) m_name(name)
{ {
+3
View File
@@ -12,6 +12,9 @@ namespace Inferno {
class Log { class Log {
public: public:
// -----------------------------------------
static void initialize(); static void initialize();
// ----------------------------------------- // -----------------------------------------