|
OpenSDN source code
|
#include "base/logging.h"#include "sandesh/sandesh_trace.h"#include "sandesh/common/vns_types.h"#include "sandesh/common/vns_constants.h"#include "io/io_types.h"#include "io/tcp_server.h"#include "io/tcp_session.h"

Go to the source code of this file.
Macros | |
| #define | IO_TRACE_BUF "IOTraceBuf" |
| #define | IO_LOG_FLAG_SYSLOG 1 |
| #define | IO_LOG_FLAG_TRACE 2 |
| #define | IO_LOG_FLAG_ALL (IO_LOG_FLAG_SYSLOG | IO_LOG_FLAG_TRACE) |
| #define | IO_LOG(obj, level, flags, category, ...) |
| #define | GEN_DIR_OUT ">" |
| #define | GEN_DIR_IN "<" |
| #define | GEN_DIR_NA "" |
| #define | TCP_DIR_OUT GEN_DIR_OUT |
| #define | TCP_DIR_IN GEN_DIR_IN |
| #define | TCP_DIR_NA GEN_DIR_NA |
| #define | UDP_DIR_OUT GEN_DIR_OUT |
| #define | UDP_DIR_IN GEN_DIR_IN |
| #define | UDP_DIR_NA GEN_DIR_NA |
| #define | IO_SERVER_LOG_STR(msg, cat, obj, level, flags, server, dir, arg) |
| #define | IO_SESSION_LOG_STR(msg, cat, obj, level, flags, session, dir, arg) |
| #define | IO_UT_LOG_DEBUG(msg, cat, dir, arg) |
| #define | TCP_SERVER_LOG_STR(obj, level, flags, server, dir, arg) |
| #define | TCP_SERVER_LOG_ERROR(server, dir, arg) |
| #define | TCP_SERVER_LOG_INFO(server, dir, arg) |
| #define | TCP_SERVER_LOG_DEBUG(server, dir, arg) |
| #define | TCP_SERVER_LOG_UT_DEBUG(server, dir, arg) |
| #define | TCP_SESSION_LOG_STR(obj, level, flags, session, dir, arg) |
| #define | TCP_SESSION_LOG_ERROR(session, dir, arg) |
| #define | TCP_SESSION_LOG_INFO(session, dir, arg) |
| #define | TCP_SESSION_LOG_DEBUG(session, dir, arg) |
| #define | TCP_SESSION_LOG_UT_DEBUG(session, dir, arg) |
| #define | TCP_UT_LOG_DEBUG(arg) IO_UT_LOG_DEBUG(TcpMessage, "TCP", TCP_DIR_NA, arg) |
| #define | EVENT_MANAGER_LOG_ERROR(arg) |
| #define | UDP_EVENT_MANAGER_LOG_ERROR(arg) |
| #define | UDP_SERVER_LOG_STR(obj, level, flags, server, dir, arg) |
| #define | UDP_SERVER_LOG_ERROR(server, dir, arg) |
| #define | UDP_SERVER_LOG_INFO(server, dir, arg) |
| #define | UDP_SERVER_LOG_DEBUG(server, dir, arg) |
| #define | UDP_SERVER_LOG_UT_DEBUG(server, dir, arg) |
| #define | UDP_SESSION_LOG_STR(obj, level, flags, session, dir, arg) |
| #define | UDP_UT_LOG_DEBUG(arg) IO_UT_LOG_DEBUG(UdpMessage, "UDP", UDP_DIR_NA, arg) |
Variables | |
| SandeshTraceBufferPtr | IOTraceBuf |
| #define EVENT_MANAGER_LOG_ERROR | ( | arg | ) |
| #define IO_LOG | ( | obj, | |
| level, | |||
| flags, | |||
| category, | |||
| ... | |||
| ) |
| #define IO_LOG_FLAG_ALL (IO_LOG_FLAG_SYSLOG | IO_LOG_FLAG_TRACE) |
| #define IO_SERVER_LOG_STR | ( | msg, | |
| cat, | |||
| obj, | |||
| level, | |||
| flags, | |||
| server, | |||
| dir, | |||
| arg | |||
| ) |
| #define IO_SESSION_LOG_STR | ( | msg, | |
| cat, | |||
| obj, | |||
| level, | |||
| flags, | |||
| session, | |||
| dir, | |||
| arg | |||
| ) |
| #define IO_UT_LOG_DEBUG | ( | msg, | |
| cat, | |||
| dir, | |||
| arg | |||
| ) |
| #define TCP_DIR_IN GEN_DIR_IN |
| #define TCP_DIR_NA GEN_DIR_NA |
| #define TCP_DIR_OUT GEN_DIR_OUT |
| #define TCP_SERVER_LOG_DEBUG | ( | server, | |
| dir, | |||
| arg | |||
| ) |
| #define TCP_SERVER_LOG_ERROR | ( | server, | |
| dir, | |||
| arg | |||
| ) |
| #define TCP_SERVER_LOG_INFO | ( | server, | |
| dir, | |||
| arg | |||
| ) |
| #define TCP_SERVER_LOG_STR | ( | obj, | |
| level, | |||
| flags, | |||
| server, | |||
| dir, | |||
| arg | |||
| ) |
| #define TCP_SERVER_LOG_UT_DEBUG | ( | server, | |
| dir, | |||
| arg | |||
| ) |
| #define TCP_SESSION_LOG_DEBUG | ( | session, | |
| dir, | |||
| arg | |||
| ) |
| #define TCP_SESSION_LOG_ERROR | ( | session, | |
| dir, | |||
| arg | |||
| ) |
| #define TCP_SESSION_LOG_INFO | ( | session, | |
| dir, | |||
| arg | |||
| ) |
| #define TCP_SESSION_LOG_STR | ( | obj, | |
| level, | |||
| flags, | |||
| session, | |||
| dir, | |||
| arg | |||
| ) |
| #define TCP_SESSION_LOG_UT_DEBUG | ( | session, | |
| dir, | |||
| arg | |||
| ) |
| #define TCP_UT_LOG_DEBUG | ( | arg | ) | IO_UT_LOG_DEBUG(TcpMessage, "TCP", TCP_DIR_NA, arg) |
| #define UDP_DIR_IN GEN_DIR_IN |
| #define UDP_DIR_NA GEN_DIR_NA |
| #define UDP_DIR_OUT GEN_DIR_OUT |
| #define UDP_EVENT_MANAGER_LOG_ERROR | ( | arg | ) |
| #define UDP_SERVER_LOG_DEBUG | ( | server, | |
| dir, | |||
| arg | |||
| ) |
| #define UDP_SERVER_LOG_ERROR | ( | server, | |
| dir, | |||
| arg | |||
| ) |
| #define UDP_SERVER_LOG_INFO | ( | server, | |
| dir, | |||
| arg | |||
| ) |
| #define UDP_SERVER_LOG_STR | ( | obj, | |
| level, | |||
| flags, | |||
| server, | |||
| dir, | |||
| arg | |||
| ) |
| #define UDP_SERVER_LOG_UT_DEBUG | ( | server, | |
| dir, | |||
| arg | |||
| ) |
| #define UDP_SESSION_LOG_STR | ( | obj, | |
| level, | |||
| flags, | |||
| session, | |||
| dir, | |||
| arg | |||
| ) |
| #define UDP_UT_LOG_DEBUG | ( | arg | ) | IO_UT_LOG_DEBUG(UdpMessage, "UDP", UDP_DIR_NA, arg) |
|
extern |