Implementation of logging module.
Copyright (c) 2020 Microchip Technology Inc. and its subsidiaries.
Macros | |
#define | DEBUG_PREFIX_STR ((uint8_t*)"\r\n[DEBUG] ") |
#define | DEBUG_PREFIX_STR_LEN (10) |
#define | ERROR_PREFIX_STR ((uint8_t*)"\r\n[ERROR] ") |
#define | ERROR_PREFIX_STR_LEN (10) |
#define | NEW_LINE_STR ((uint8_t*)"\r\n") |
#define | NEW_LINE_STR_LEN (2) |
#define | WARN_PREFIX_STR ((uint8_t*)"\r\n[WARN] ") |
#define | WARN_PREFIX_STR_LEN (9) |
Functions | |
void | log_output (uint8_t level, bool newline, const char *format,...) |
#define DEBUG_PREFIX_STR ((uint8_t*)"\r\n[DEBUG] ") |
Referenced by log_output().
#define DEBUG_PREFIX_STR_LEN (10) |
Referenced by log_output().
#define ERROR_PREFIX_STR ((uint8_t*)"\r\n[ERROR] ") |
Referenced by log_output().
#define ERROR_PREFIX_STR_LEN (10) |
Referenced by log_output().
#define NEW_LINE_STR ((uint8_t*)"\r\n") |
Referenced by log_output().
#define NEW_LINE_STR_LEN (2) |
Referenced by log_output().
#define WARN_PREFIX_STR ((uint8_t*)"\r\n[WARN] ") |
Referenced by log_output().
#define WARN_PREFIX_STR_LEN (9) |
Referenced by log_output().
void log_output | ( | uint8_t | level, |
bool | newline, | ||
const char * | format, | ||
... | |||
) |