ns3-bgp
0.2
BGP module for ns-3.
|
The libbgp log forwarder class. More...
#include <bgp-log.h>
Public Member Functions | |
BgpLog (const char *owner) | |
Construct a new BgpLog object. More... | |
void | SetOwner (const char *owner) |
Set the owner (prefix) of the log message. More... | |
Public Member Functions inherited from libbgp::BgpLogHandler | |
void | log (LogLevel level, const char *format_str,...) |
void | log (LogLevel level, const Serializable &serializable) |
void | setLogLevel (LogLevel level) |
LogLevel | getLogLevel () const |
Protected Member Functions | |
void | logImpl (const char *str) |
Log implementation. See libbgp document. More... | |
Protected Attributes | |
char * | owner |
ns3::BgpLog::BgpLog | ( | const char * | owner | ) |
Construct a new BgpLog object.
owner | The owner (prefix) of the log message |
Definition at line 24 of file bgp-log.cc.
|
protectedvirtual |
Log implementation. See libbgp document.
str | String to log. |
Reimplemented from libbgp::BgpLogHandler.
Definition at line 37 of file bgp-log.cc.
void ns3::BgpLog::SetOwner | ( | const char * | owner | ) |
Set the owner (prefix) of the log message.
owner | The owner (prefix) of the log message |
Definition at line 49 of file bgp-log.cc.