Log: Add possibility of set default logger (for initialization)

This commit is contained in:
Ardakaniz
2016-10-16 18:21:05 +02:00
parent fca5aeb9cd
commit 308a603324
2 changed files with 21 additions and 1 deletions

View File

@@ -41,6 +41,7 @@ namespace Nz
static bool IsEnabled();
static void SetDefaultLogger(AbstractLogger* defaultLogger);
static void SetLogger(AbstractLogger* logger);
static void Write(const String& string);
@@ -53,6 +54,7 @@ namespace Nz
static bool Initialize();
static void Uninitialize();
static AbstractLogger* s_defaultLogger;
static AbstractLogger* s_logger;
static bool s_enabled;
};