#include "conf_stdio.h"
Go to the source code of this file.
Macros | |
#define | DYN_TRACES 0 |
#define | DYNTRACE 0 |
#define | TRACE_DEBUG(...) { } |
#define | TRACE_DEBUG_WP(...) { } |
#define | TRACE_ERROR(...) { printf("-E- " __VA_ARGS__); } |
#define | TRACE_ERROR_WP(...) { printf(__VA_ARGS__); } |
#define | TRACE_FATAL(...) { printf("-F- " __VA_ARGS__); while (1); } |
#define | TRACE_FATAL_WP(...) { printf(__VA_ARGS__); while (1); } |
#define | TRACE_INFO(...) { printf("-I- " __VA_ARGS__); } |
#define | TRACE_INFO_WP(...) { printf(__VA_ARGS__); } |
#define | TRACE_LEVEL TRACE_LEVEL_INFO |
#define | TRACE_LEVEL_DEBUG 5 |
#define | TRACE_LEVEL_ERROR 2 |
#define | TRACE_LEVEL_FATAL 1 |
#define | TRACE_LEVEL_INFO 4 |
#define | TRACE_LEVEL_NO_TRACE 0 |
#define | TRACE_LEVEL_WARNING 3 |
#define | TRACE_WARNING(...) { printf("-W- " __VA_ARGS__); } |
#define | TRACE_WARNING_WP(...) { printf(__VA_ARGS__); } |
#define | USBLIB_VERSION "1.0" |
Standard output methods for reporting debug information, warnings and errors, which can be easily be turned on/off.
Definition in file USBLib_Trace.h.
#define DYN_TRACES 0 |
Definition at line 93 of file USBLib_Trace.h.
#define DYNTRACE 0 |
Definition at line 115 of file USBLib_Trace.h.
#define TRACE_DEBUG | ( | ... | ) | { } |
Outputs a formatted string using 'printf' if the log level is high enough. Can be disabled by defining TRACE_LEVEL=0 during compilation.
... | Additional parameters depending on formatted string. |
Definition at line 161 of file USBLib_Trace.h.
#define TRACE_DEBUG_WP | ( | ... | ) | { } |
Definition at line 162 of file USBLib_Trace.h.
#define TRACE_ERROR | ( | ... | ) | { printf("-E- " __VA_ARGS__); } |
Definition at line 182 of file USBLib_Trace.h.
#define TRACE_ERROR_WP | ( | ... | ) | { printf(__VA_ARGS__); } |
Definition at line 183 of file USBLib_Trace.h.
#define TRACE_FATAL | ( | ... | ) | { printf("-F- " __VA_ARGS__); while (1); } |
Definition at line 190 of file USBLib_Trace.h.
#define TRACE_FATAL_WP | ( | ... | ) | { printf(__VA_ARGS__); while (1); } |
Definition at line 191 of file USBLib_Trace.h.
#define TRACE_INFO | ( | ... | ) | { printf("-I- " __VA_ARGS__); } |
Definition at line 166 of file USBLib_Trace.h.
#define TRACE_INFO_WP | ( | ... | ) | { printf(__VA_ARGS__); } |
Definition at line 167 of file USBLib_Trace.h.
#define TRACE_LEVEL TRACE_LEVEL_INFO |
Definition at line 88 of file USBLib_Trace.h.
#define TRACE_LEVEL_DEBUG 5 |
Definition at line 79 of file USBLib_Trace.h.
#define TRACE_LEVEL_ERROR 2 |
Definition at line 82 of file USBLib_Trace.h.
#define TRACE_LEVEL_FATAL 1 |
Definition at line 83 of file USBLib_Trace.h.
#define TRACE_LEVEL_INFO 4 |
Definition at line 80 of file USBLib_Trace.h.
#define TRACE_LEVEL_NO_TRACE 0 |
Definition at line 84 of file USBLib_Trace.h.
#define TRACE_LEVEL_WARNING 3 |
Definition at line 81 of file USBLib_Trace.h.
#define TRACE_WARNING | ( | ... | ) | { printf("-W- " __VA_ARGS__); } |
Definition at line 174 of file USBLib_Trace.h.
#define TRACE_WARNING_WP | ( | ... | ) | { printf(__VA_ARGS__); } |
Definition at line 175 of file USBLib_Trace.h.
#define USBLIB_VERSION "1.0" |
Softpack Version
Definition at line 77 of file USBLib_Trace.h.