Common.h 599 B

123456789101112131415161718
  1. // Copyright (C) 2009-present, Panagiotis Christopoulos Charitos and contributors.
  2. // All rights reserved.
  3. // Code licensed under the BSD License.
  4. // http://www.anki3d.org/LICENSE
  5. #pragma once
  6. #include <AnKi/Config.h>
  7. namespace anki {
  8. #define ANKI_UTIL_LOGI(...) ANKI_LOG("UTIL", kNormal, __VA_ARGS__)
  9. #define ANKI_UTIL_LOGE(...) ANKI_LOG("UTIL", kError, __VA_ARGS__)
  10. #define ANKI_UTIL_LOGW(...) ANKI_LOG("UTIL", kWarning, __VA_ARGS__)
  11. #define ANKI_UTIL_LOGF(...) ANKI_LOG("UTIL", kFatal, __VA_ARGS__)
  12. #define ANKI_UTIL_LOGV(...) ANKI_LOG("UTIL", kVerbose, __VA_ARGS__)
  13. } // end namespace anki