1
0

utest_log.h 605 B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * Copyright (c) 2006-2018, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2018-11-19 MurphyZhao the first version
  9. */
  10. #ifndef __UTEST_LOG_H__
  11. #define __UTEST_LOG_H__
  12. #define UTEST_DEBUG
  13. #undef DBG_SECTION_NAME
  14. #undef DBG_LEVEL
  15. #undef DBG_COLOR
  16. #undef DBG_ENABLE
  17. #define DBG_ENABLE
  18. #define DBG_SECTION_NAME "testcase"
  19. #ifdef UTEST_DEBUG
  20. #define DBG_LEVEL DBG_LOG
  21. #else
  22. #define DBG_LEVEL DBG_INFO
  23. #endif
  24. #define DBG_COLOR
  25. #include <rtdbg.h>
  26. #endif /* __UTEST_LOG_H__ */