Quellcode durchsuchen

Add scope specifier

Daniele Bartolini vor 11 Jahren
Ursprung
Commit
040a887e96
1 geänderte Dateien mit 4 neuen und 4 gelöschten Zeilen
  1. 4 4
      engine/core/Log.h

+ 4 - 4
engine/core/Log.h

@@ -30,10 +30,10 @@ OTHER DEALINGS IN THE SOFTWARE.
 #include "ConsoleServer.h"
 
 #if defined(CROWN_DEBUG) || defined(CROWN_DEVELOPMENT)
-	#define CE_LOGI(msg, ...) crown::device()->console()->log_to_all(LogSeverity::INFO, msg, ##__VA_ARGS__)
-	#define CE_LOGD(msg, ...) crown::device()->console()->log_to_all(LogSeverity::DEBUG, msg, ##__VA_ARGS__)
-	#define CE_LOGE(msg, ...) crown::device()->console()->log_to_all(LogSeverity::ERROR, msg, ##__VA_ARGS__)
-	#define CE_LOGW(msg, ...) crown::device()->console()->log_to_all(LogSeverity::WARN, msg, ##__VA_ARGS__)
+	#define CE_LOGI(msg, ...) crown::device()->console()->log_to_all(crown::LogSeverity::INFO, msg, ##__VA_ARGS__)
+	#define CE_LOGD(msg, ...) crown::device()->console()->log_to_all(crown::LogSeverity::DEBUG, msg, ##__VA_ARGS__)
+	#define CE_LOGE(msg, ...) crown::device()->console()->log_to_all(crown::LogSeverity::ERROR, msg, ##__VA_ARGS__)
+	#define CE_LOGW(msg, ...) crown::device()->console()->log_to_all(crown::LogSeverity::WARN, msg, ##__VA_ARGS__)
 #else
 	#define CE_LOGI(msg, ...) ((void)0)
 	#define CE_LOGD(msg, ...) ((void)0)