Macros for logging.
More...
#include <assert.h>
#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("INFO [%4d] " f_ "\r\n", __LINE__, ##__VA_ARGS__) |
|
#define | LT_LOG_WARN(f_, ...) printf("WARNING [%4d] " f_ "\r\n", __LINE__, ##__VA_ARGS__) |
|
#define | LT_LOG_ERROR(f_, ...) printf("ERROR [%4d] " f_ "\r\n", __LINE__, ##__VA_ARGS__) |
|
#define | LT_LOG_DEBUG(f_, ...) |
|
#define | LT_ASSERT(expected, value) |
|
#define | LT_ASSERT_COND(value, condition, expected_if_true, expected_if_false) |
|
- Author
- Tropic Square s.r.o.
- License
- For the license see file LICENSE.txt file in the root directory of this source tree.