Browse Source

Add code separators

master
Rick van Vonderen 5 years ago
parent
commit
c99af0fbca
  1. 2
      inferno/src/inferno.h
  2. 4
      inferno/src/inferno/log.cpp
  3. 3
      inferno/src/inferno/log.h

2
inferno/src/inferno.h

@ -12,4 +12,6 @@
#include "inferno/entrypoint.h"
// -----------------------------------------
#endif // INFERNO_H

4
inferno/src/inferno/log.cpp

@ -6,6 +6,8 @@ namespace Inferno {
std::shared_ptr<Logger> Log::m_coreLogger;
std::shared_ptr<Logger> Log::m_gameLogger;
// -----------------------------------------
void Log::initialize()
{
// Create engine Logger
@ -16,6 +18,8 @@ namespace Inferno {
NF_CORE_INFO("Log initialized");
}
// -----------------------------------------
Logger::Logger(const char* name) :
m_name(name)
{

3
inferno/src/inferno/log.h

@ -12,6 +12,9 @@ namespace Inferno {
class Log {
public:
// -----------------------------------------
static void initialize();
// -----------------------------------------

Loading…
Cancel
Save