#include "base/logging.h"
#include "sandesh/sandesh_trace.h"
Go to the source code of this file.
◆ XMPP_ALERT
#define XMPP_ALERT |
( |
|
obj, |
|
|
|
... |
|
) |
| |
Value:do { \
obj::Send(g_vns_constants.CategoryNames.find(Category::XMPP)->second, \
SandeshLevel::SYS_ALERT, __FILE__, __LINE__, ##__VA_ARGS__); \
XMPP_TRACE(obj##Trace, ##__VA_ARGS__); \
} while (false)
Definition at line 27 of file xmpp_log.h.
◆ XMPP_CONNECTION_LOG_MSG
#define XMPP_CONNECTION_LOG_MSG |
( |
|
info | ) |
|
Value:do { \
XMPP_CONNECTION_LOG_SEND(info); \
} while (false)
Definition at line 83 of file xmpp_log.h.
◆ XMPP_DEBUG
#define XMPP_DEBUG |
( |
|
obj, |
|
|
|
... |
|
) |
| |
Value:do { \
obj::Send(g_vns_constants.CategoryNames.find(Category::XMPP)->second, \
SandeshLevel::SYS_DEBUG, __FILE__, __LINE__, ##__VA_ARGS__); \
XMPP_TRACE(obj##Trace, ##__VA_ARGS__); \
} while (false)
Definition at line 59 of file xmpp_log.h.
◆ XMPP_ERROR
#define XMPP_ERROR |
( |
|
obj, |
|
|
|
... |
|
) |
| |
Value:do { \
obj::Send(g_vns_constants.CategoryNames.find(Category::XMPP)->second, \
SandeshLevel::SYS_ERR, __FILE__, __LINE__, ##__VA_ARGS__); \
} while (false)
Definition at line 18 of file xmpp_log.h.
◆ XMPP_INFO
#define XMPP_INFO |
( |
|
obj, |
|
|
|
... |
|
) |
| |
Value:do { \
obj::Send(g_vns_constants.CategoryNames.find(Category::XMPP)->second, \
SandeshLevel::SYS_INFO, __FILE__, __LINE__, ##__VA_ARGS__); \
XMPP_TRACE(obj##Trace, ##__VA_ARGS__); \
} while (false)
Definition at line 51 of file xmpp_log.h.
◆ XMPP_MESSAGE_TRACE
#define XMPP_MESSAGE_TRACE |
( |
|
obj, |
|
|
|
... |
|
) |
| |
Value: do { \
} while (false)
SandeshTraceBufferPtr XmppMessageTraceBuf
Definition at line 78 of file xmpp_log.h.
◆ XMPP_MESSAGE_TRACE_BUF
#define XMPP_MESSAGE_TRACE_BUF "XmppMessageTrace" |
◆ XMPP_NOTICE
#define XMPP_NOTICE |
( |
|
obj, |
|
|
|
... |
|
) |
| |
Value:do { \
obj::Send(g_vns_constants.CategoryNames.find(Category::XMPP)->second, \
SandeshLevel::SYS_NOTICE, __FILE__, __LINE__, ##__VA_ARGS__); \
XMPP_TRACE(obj##Trace, ##__VA_ARGS__); \
} while (false)
Definition at line 43 of file xmpp_log.h.
◆ XMPP_PEER_DIR_IN
#define XMPP_PEER_DIR_IN "RECV" |
◆ XMPP_PEER_DIR_NA
#define XMPP_PEER_DIR_NA "" |
◆ XMPP_PEER_DIR_OUT
#define XMPP_PEER_DIR_OUT "SEND" |
◆ XMPP_TRACE
#define XMPP_TRACE |
( |
|
obj, |
|
|
|
... |
|
) |
| |
Value: do { \
obj::TraceMsg(
XmppTraceBuf, __FILE__, __LINE__, ##__VA_ARGS__); \
} while (false)
SandeshTraceBufferPtr XmppTraceBuf
Definition at line 74 of file xmpp_log.h.
◆ XMPP_TRACE_BUF
#define XMPP_TRACE_BUF "XmppTrace" |
◆ XMPP_UTDEBUG
#define XMPP_UTDEBUG |
( |
|
obj, |
|
|
|
... |
|
) |
| |
Value:do { \
obj::Send(g_vns_constants.CategoryNames.find(Category::XMPP)->second, \
Sandesh::LoggingUtLevel(), __FILE__, __LINE__,
##__VA_ARGS__); \
} while (false)
Definition at line 67 of file xmpp_log.h.
◆ XMPP_WARNING
#define XMPP_WARNING |
( |
|
obj, |
|
|
|
... |
|
) |
| |
Value:do { \
obj::Send(g_vns_constants.CategoryNames.find(Category::XMPP)->second, \
SandeshLevel::SYS_WARN, __FILE__, __LINE__, ##__VA_ARGS__); \
XMPP_TRACE(obj##Trace, ##__VA_ARGS__); \
} while (false)
Definition at line 35 of file xmpp_log.h.
◆ XmppMessageTraceBuf
◆ XmppTraceBuf