Add function name to E1AP PRINT_ERROR macro
This commit is contained in:
@@ -29,7 +29,7 @@
|
|||||||
#include "e1ap_messages_types.h"
|
#include "e1ap_messages_types.h"
|
||||||
|
|
||||||
#ifdef E1AP_LOG_ERRORS
|
#ifdef E1AP_LOG_ERRORS
|
||||||
#define PRINT_ERROR(...) fprintf(stderr, ##__VA_ARGS__);
|
#define PRINT_ERROR(fmt, ...) fprintf(stderr, "[%s] " fmt, __func__, ##__VA_ARGS__)
|
||||||
#else
|
#else
|
||||||
#define PRINT_ERROR(...) // Do nothing
|
#define PRINT_ERROR(...) // Do nothing
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user