mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-15 18:56:40 +00:00
lib: mgmtd: fix/stdize debug message macros
Signed-off-by: Christian Hopps <chopps@labn.net>
This commit is contained in:
parent
f0fa4c0370
commit
79d40972fd
@ -16,7 +16,7 @@
|
|||||||
#include "libyang/libyang.h"
|
#include "libyang/libyang.h"
|
||||||
|
|
||||||
#define MGMTD_DS_DBG(fmt, ...) \
|
#define MGMTD_DS_DBG(fmt, ...) \
|
||||||
DEBUGD(&mgmt_debug_ds, "%s:" fmt, __func__, ##__VA_ARGS__)
|
DEBUGD(&mgmt_debug_ds, "DS: %s: " fmt, __func__, ##__VA_ARGS__)
|
||||||
#define MGMTD_DS_ERR(fmt, ...) \
|
#define MGMTD_DS_ERR(fmt, ...) \
|
||||||
zlog_err("%s: ERROR: " fmt, __func__, ##__VA_ARGS__)
|
zlog_err("%s: ERROR: " fmt, __func__, ##__VA_ARGS__)
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
#include "mgmtd/mgmt_txn.h"
|
#include "mgmtd/mgmt_txn.h"
|
||||||
|
|
||||||
#define MGMTD_TXN_DBG(fmt, ...) \
|
#define MGMTD_TXN_DBG(fmt, ...) \
|
||||||
DEBUGD(&mgmt_debug_txn, "%s:" fmt, __func__, ##__VA_ARGS__)
|
DEBUGD(&mgmt_debug_txn, "TXN: %s: " fmt, __func__, ##__VA_ARGS__)
|
||||||
#define MGMTD_TXN_ERR(fmt, ...) \
|
#define MGMTD_TXN_ERR(fmt, ...) \
|
||||||
zlog_err("%s: ERROR: " fmt, __func__, ##__VA_ARGS__)
|
zlog_err("%s: ERROR: " fmt, __func__, ##__VA_ARGS__)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user