Macros for logging.
More...
#include <stdio.h>
|
#define | LT_LOG(f_, ...) LT_LOG_INFO(f_, ##__VA_ARGS__) |
|
#define | LT_LOG_RESULT(f_, ...) LT_LOG_INFO(" result: " f_, ##__VA_ARGS__) |
|
#define | LT_LOG_VALUE(f_, ...) LT_LOG_INFO("\t\t- " f_, ##__VA_ARGS__) |
|
#define | LT_LOG_LINE(f_, ...) |
|
#define | LT_LOG_INFO(f_, ...) printf("%d\t;INFO;" f_ "\r\n", __LINE__, ##__VA_ARGS__) |
|
#define | LT_LOG_WARN(f_, ...) printf("%d\t;WARNING;" f_ "\r\n", __LINE__, ##__VA_ARGS__) |
|
#define | LT_LOG_ERROR(f_, ...) printf("%d\t;ERROR;" f_ "\r\n", __LINE__, ##__VA_ARGS__) |
|
#define | LT_LOG_SYSTEM(f_, ...) printf("%d\t;SYSTEM;" f_ "\r\n", __LINE__, ##__VA_ARGS__) |
|
#define | LT_ASSERT(expected, value) |
|
#define | LT_ASSERT_COND(value, condition, expected_if_true, expected_if_false) |
|
#define | LT_FINISH_TEST() LT_LOG_SYSTEM("TEST_FINISH") |
|
- Author
- Tropic Square s.r.o.
- License
- For the license see file LICENSE.txt file in the root directory of this source tree.