#include "base/logging.h"
#include "sandesh/sandesh_trace.h"
Go to the source code of this file.
#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.
#define XMPP_CONNECTION_LOG_MSG |
( |
|
info | ) |
|
Value:do { \
XMPP_CONNECTION_LOG_SEND(info); \
} while (false)
Definition at line 83 of file xmpp_log.h.
#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.
#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.
#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.
#define XMPP_MESSAGE_TRACE |
( |
|
obj, |
|
|
|
... |
|
) |
| |
Value:do { \
} while (false)
SandeshTraceBufferPtr XmppMessageTraceBuf
Definition at line 78 of file xmpp_log.h.
#define XMPP_MESSAGE_TRACE_BUF "XmppMessageTrace" |
#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.
#define XMPP_PEER_DIR_IN "RECV" |
#define XMPP_PEER_DIR_NA "" |
#define XMPP_PEER_DIR_OUT "SEND" |
#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.
#define XMPP_TRACE_BUF "XmppTrace" |
#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.
#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.