Logging functions and macros. More...
![]() |
Defines | |
#define | NS_LOG_COMPONENT_DEFINE(name) static ns3::LogComponent g_log = ns3::LogComponent (name) |
#define | NS_LOG(level, msg) |
#define | NS_LOG_ERROR(msg) NS_LOG(ns3::LOG_ERROR, msg) |
#define | NS_LOG_WARN(msg) NS_LOG(ns3::LOG_WARN, msg) |
#define | NS_LOG_DEBUG(msg) NS_LOG(ns3::LOG_DEBUG, msg) |
#define | NS_LOG_INFO(msg) NS_LOG(ns3::LOG_INFO, msg) |
#define | NS_LOG_FUNCTION_NOARGS() |
#define | NS_LOG_FUNCTION(parameters) |
#define | NS_LOG_LOGIC(msg) NS_LOG(ns3::LOG_LOGIC, msg) |
#define | NS_LOG_UNCOND(msg) |
Functions | |
void | ns3::LogComponentEnable (char const *name, enum LogLevel level) |
void | ns3::LogComponentEnableAll (enum LogLevel level) |
void | ns3::LogComponentDisable (char const *name, enum LogLevel level) |
void | ns3::LogComponentDisableAll (enum LogLevel level) |
void | ns3::LogComponentPrintList (void) |
Logging functions and macros.
LOG functionality: macros which allow developers to send information out on screen. All logging messages are disabled by default. To enable selected logging messages, use the ns3::LogComponentEnable function or use the NS_LOG environment variable
Use the environment variable NS_LOG to define a ':'-separated list of logging components to enable. For example (using bash syntax), NS_LOG="OlsrAgent" would enable one component at all log levels. NS_LOG="OlsrAgent:Ipv4L3Protocol" would enable two components, at all log levels, etc. NS_LOG="*" will enable all available log components at all levels.
To control more selectively the log levels for each component, use this syntax: NS_LOG='Component1=func|warn:Component2=error|debug' This example would enable the 'func', and 'warn' log levels for 'Component1' and the 'error' and 'debug' log levels for 'Component2'. The wildcard can be used here as well. For example NS_LOG='*=level_all|prefix' would enable all log levels and prefix all prints with the component and function names.
#define NS_LOG | ( | level, | |||
msg | ) |
do \ { \ if (g_log.IsEnabled (level)) \ { \ NS_LOG_APPEND_TIME_PREFIX; \ NS_LOG_APPEND_CONTEXT; \ NS_LOG_APPEND_FUNC_PREFIX; \ std::clog << msg << std::endl; \ } \ } \ while (false)
level | the log level | |
msg | the message to log |
This macro allows you to log an arbitrary message at a specific log level. The log message is expected to be a C++ ostream message such as "my string" << aNumber << "my oth stream".
Typical usage looks like:
#define NS_LOG_COMPONENT_DEFINE | ( | name | ) | static ns3::LogComponent g_log = ns3::LogComponent (name) |
name | a string |
Define a Log component with a specific name. This macro should be used at the top of every file in which you want to use the NS_LOG macro. This macro defines a new "log component" which can be later selectively enabled or disabled with the ns3::LogComponentEnable and ns3::LogComponentDisable functions or with the NS_LOG environment variable.
#define NS_LOG_DEBUG | ( | msg | ) | NS_LOG(ns3::LOG_DEBUG, msg) |
msg | the message to log |
Use NS_LOG to output a message of level LOG_DEBUG.
Definition at line 225 of file log.h.
Referenced by ns3::BridgeNetDevice::AddBridgePort(), ns3::SupportedRates::AddSupportedRate(), ns3::Ipv4EndPointDemux::Allocate(), ns3::ObjectBase::ConstructSelf(), ns3::EmuNetDevice::CreateSocket(), ns3::MacLow::CtsTimeout(), ns3::NakagamiPropagationLossModel::DoCalcRxPower(), ns3::ThreeLogDistancePropagationLossModel::DoCalcRxPower(), ns3::LogDistancePropagationLossModel::DoCalcRxPower(), ns3::FriisPropagationLossModel::DoCalcRxPower(), ns3::RandomPropagationLossModel::DoCalcRxPower(), ns3::NonUnicastWifiRemoteStation::DoGetDataMode(), ns3::AttributeIterator::DoIterate(), ns3::ArfWifiRemoteStation::DoReportDataOk(), ns3::RraaWifiRemoteStation::DoReportRtsOk(), ns3::ArfWifiRemoteStation::DoReportRtsOk(), ns3::Resolver::DoResolve(), ns3::Resolver::DoResolveOne(), ns3::YansWifiPhy::EndReceivePacket(), ns3::Ns2ExtWifiPhy::EndReceivePacket(), ns3::HeapScheduler::Exch(), ns3::MacLow::FastAckFailedTimeout(), ns3::MacLow::FastAckTimeout(), ns3::BridgeNetDevice::ForwardBroadcast(), ns3::MacLow::ForwardDown(), ns3::BridgeNetDevice::ForwardUnicast(), ns3::TcpSocketImpl::ForwardUp(), ns3::AdhocWifiMac::ForwardUp(), ns3::JakesPropagationLossModel::PathCoefficients::GetLoss(), ns3::RandomDiscPositionAllocator::GetNext(), ns3::olsr::MessageHeader::GetSerializedSize(), ns3::CommandLine::HandleArgument(), ns3::MacRxMiddle::HandleFragments(), ns3::WifiHelper::Install(), ns3::MobilityHelper::Install(), ns3::Ns2MobilityHelper::LayoutObjectStore(), ns3::olsr::AgentImpl::LinkSensing(), ns3::olsr::AgentImpl::LinkTupleUpdated(), ns3::ConfigStore::LoadFrom(), ns3::Ipv4EndPointDemux::Lookup(), ns3::ArrayMatcher::Matches(), ns3::NqstaWifiMac::MissedBeacons(), ns3::olsr::AgentImpl::MprComputation(), ns3::olsr::AgentImpl::NeighborLoss(), ns3::TcpSocketImpl::NewRx(), ns3::MacLow::NormalAckTimeout(), ns3::NscTcpSocketImpl::NSCWakeup(), ns3::CommandLine::CallbackItem::Parse(), ns3::MapScheduler::PeekNext(), ns3::olsr::AgentImpl::PopulateMprSelectorSet(), ns3::olsr::AgentImpl::PopulateTwoHopNeighborSet(), ns3::olsr::AgentImpl::ProcessHello(), ns3::olsr::AgentImpl::ProcessMid(), ns3::TcpSocketImpl::ProcessPacketAction(), ns3::olsr::AgentImpl::ProcessTc(), ns3::NqstaWifiMac::Receive(), ns3::NqapWifiMac::Receive(), ns3::MacRxMiddle::Receive(), ns3::MacLow::ReceiveError(), ns3::Node::ReceiveFromDevice(), ns3::BridgeNetDevice::ReceiveFromDevice(), ns3::UdpL4Protocol::ReceiveIcmp(), ns3::MacLow::ReceiveOk(), ns3::olsr::AgentImpl::RecvOlsr(), ns3::olsr::AgentImpl::RemoveLinkTuple(), ns3::MapScheduler::RemoveNext(), ns3::olsr::RoutingTable::RequestRoute(), ns3::NqstaWifiMac::RestartBeaconWatchdog(), ns3::olsr::AgentImpl::RoutingTableComputation(), ns3::TcpSocketImpl::Send(), ns3::YansWifiChannel::Send(), ns3::Ns2ExtWifiChannel::Send(), ns3::olsr::AgentImpl::SendHello(), ns3::olsr::AgentImpl::SendPacket(), ns3::olsr::AgentImpl::SendQueuedMessages(), ns3::Ipv4RawSocketImpl::SendTo(), ns3::MacRxMiddle::SequenceControlSmaller(), ns3::SupportedRates::SetBasicRate(), ns3::olsr::AgentImpl::SetNode(), ns3::olsr::AgentImpl::Start(), ns3::YansWifiPhy::StartReceivePacket(), ns3::Ns2ExtWifiPhy::StartReceivePacket(), ns3::MacLow::StartTransmission(), ns3::MacLow::SuperFastAckTimeout(), ns3::olsr::AgentImpl::TcTimerExpire(), ns3::NqapWifiMac::TxFailed(), ns3::NqapWifiMac::TxOk(), ns3::OnoeWifiRemoteStation::UpdateMode(), and ns3::AmrrWifiRemoteStation::UpdateMode().
#define NS_LOG_ERROR | ( | msg | ) | NS_LOG(ns3::LOG_ERROR, msg) |
msg | the message to log |
Use NS_LOG to output a message of level LOG_ERROR.
Definition at line 207 of file log.h.
Referenced by ns3::UdpSocketImpl::Bind(), ns3::Resolver::DoResolve(), ns3::UdpSocketImpl::DoSendTo(), ns3::SqliteDataOutput::Exec(), ns3::SqliteDataOutput::Output(), ns3::CsmaChannel::TransmitEnd(), and ns3::CsmaChannel::TransmitStart().
#define NS_LOG_FUNCTION | ( | parameters | ) |
do \ { \ if (g_log.IsEnabled (ns3::LOG_FUNCTION)) \ { \ NS_LOG_APPEND_TIME_PREFIX; \ NS_LOG_APPEND_CONTEXT; \ std::clog << g_log.Name () << ":" \ << __FUNCTION__ << "("; \ ns3::ParameterLogger (std::clog) << parameters; \ std::clog << ")" << std::endl; \ } \ } \ while (false)
parameters | the parameters to output. |
If log level LOG_FUNCTION is enabled, this macro will output all input parameters separated by ", ".
Typical usage looks like:
NS_LOG_FUNCTION (aNumber<<anotherNumber);
And the output will look like:
Component:Function (aNumber, anotherNumber)
Definition at line 272 of file log.h.
Referenced by ns3::TagList::Add(), ns3::TagList::AddAtEnd(), ns3::Packet::AddAtEnd(), ns3::PacketMetadata::AddAtEnd(), ns3::Buffer::AddAtEnd(), ns3::TagList::AddAtStart(), ns3::Buffer::AddAtStart(), ns3::PacketMetadata::AddBig(), ns3::SPFVertex::AddChild(), ns3::olsr::RoutingTable::AddEntry(), ns3::GlobalRouteManagerImpl::AddGlobalRoutingProtocol(), ns3::CsmaNetDevice::AddHeader(), ns3::Packet::AddHeader(), ns3::Ipv4L3Protocol::AddHostRouteTo(), ns3::Ipv4GlobalRouting::AddHostRouteTo(), ns3::Ipv4L3Protocol::AddInterface(), ns3::Ipv4L3Protocol::AddIpv4Interface(), ns3::Ipv4L3Protocol::AddMulticastRoute(), ns3::Ipv4L3Protocol::AddNetworkRouteTo(), ns3::Ipv4GlobalRouting::AddNetworkRouteTo(), ns3::Packet::AddPaddingAtEnd(), ns3::Ipv4L3Protocol::AddRoutingProtocol(), ns3::Packet::AddTag(), ns3::Packet::AddTrailer(), ns3::PacketMetadata::AddTrailer(), ns3::CommandLine::AddValue(), ns3::UdpL4Protocol::Allocate(), ns3::TcpL4Protocol::Allocate(), ns3::NscTcpL4Protocol::Allocate(), ns3::Ipv4EndPointDemux::Allocate(), ns3::TagList::Allocate(), ns3::GlobalRouter::AnotherRouterOnLink(), ns3::ArpCache::ArpCache(), ns3::ArpIpv4Interface::ArpIpv4Interface(), ns3::ArpL3Protocol::ArpL3Protocol(), ns3::EmuHelper::AsciiDequeueEvent(), ns3::EmuHelper::AsciiDropEvent(), ns3::EmuHelper::AsciiEnqueueEvent(), ns3::EmuHelper::AsciiRxEvent(), ns3::NqstaWifiMac::AssocRequestTimeout(), ns3::PointToPointNetDevice::Attach(), ns3::PointToPointChannel::Attach(), ns3::CsmaNetDevice::Attach(), ns3::CsmaChannel::Attach(), ns3::TagList::Begin(), ns3::TagList::BeginAll(), ns3::UdpSocketImpl::Bind(), ns3::TcpSocketImpl::Bind(), ns3::NscTcpSocketImpl::Bind(), ns3::Ipv4RawSocketImpl::Bind(), ns3::Buffer::Buffer(), ns3::GlobalRouter::BuildNetworkLSAs(), ns3::Simulator::Cancel(), ns3::DcaTxop::Cancel(), ns3::MacLow::CancelAllEvents(), ns3::Channel::Channel(), ns3::NscTcpSocketImpl::Close(), ns3::Ipv4RawSocketImpl::Close(), ns3::TcpSocketImpl::CommonNewAck(), ns3::YansWifiPhy::Configure80211a(), ns3::Ns2ExtWifiPhy::Configure80211a(), ns3::InterferenceHelper::Configure80211aParameters(), ns3::YansWifiPhy::ConfigureHolland(), ns3::Ns2ExtWifiPhy::ConfigureHolland(), ns3::UdpSocketImpl::Connect(), ns3::TcpSocketImpl::Connect(), ns3::NscTcpSocketImpl::Connect(), ns3::Ipv4RawSocketImpl::Connect(), ns3::ArpL3Protocol::CreateCache(), ns3::Packet::CreateFragment(), ns3::Buffer::CreateFragment(), ns3::Buffer::CreateFullCopy(), ns3::Ipv4L3Protocol::CreateRawSocket(), ns3::NscTcpL4Protocol::CreateSocket(), ns3::CsmaNetDevice::CsmaNetDevice(), ns3::MacLow::CtsTimeout(), ns3::DcaTxop::DcaTxop(), ns3::UdpL4Protocol::DeAllocate(), ns3::TcpL4Protocol::DeAllocate(), ns3::NscTcpL4Protocol::DeAllocate(), ns3::TagList::Deallocate(), ns3::GlobalRouteManagerImpl::DebugSPFCalculate(), ns3::GlobalRouteManagerImpl::DebugUseLsdb(), ns3::Ipv4L3Protocol::DeleteRawSocket(), ns3::Queue::Dequeue(), ns3::Queue::DequeueAll(), ns3::Packet::Deserialize(), ns3::PacketMetadata::Deserialize(), ns3::CsmaChannel::Detach(), ns3::PacketMetadata::DoAddHeader(), ns3::DropTailQueue::DoDequeue(), ns3::NscTcpL4Protocol::DoDispose(), ns3::Ipv4RawSocketImpl::DoDispose(), ns3::Ipv4L3Protocol::DoDispose(), ns3::ArpL3Protocol::DoDispose(), ns3::ArpIpv4Interface::DoDispose(), ns3::ArpCache::DoDispose(), ns3::YansWifiPhy::DoDispose(), ns3::Ns2ExtWifiPhy::DoDispose(), ns3::NqstaWifiMac::DoDispose(), ns3::NqapWifiMac::DoDispose(), ns3::MacLow::DoDispose(), ns3::DcaTxop::DoDispose(), ns3::PacketSink::DoDispose(), ns3::DropTailQueue::DoEnqueue(), ns3::Ipv4L3Protocol::DoForward(), ns3::DropTailQueue::DoPeek(), ns3::Resolver::DoResolve(), ns3::UdpSocketImpl::DoSend(), ns3::UdpSocketImpl::DoSendTo(), ns3::TcpSocketImpl::DoSendTo(), ns3::Queue::Drop(), ns3::TcpSocketImpl::DupAck(), ns3::EmuNetDevice::EmuNetDevice(), ns3::EmuHelper::EnableAscii(), ns3::EmuHelper::EnableAsciiAll(), ns3::EmuHelper::EnablePcap(), ns3::EmuHelper::EnablePcapAll(), ns3::YansWifiPhy::EndReceivePacket(), ns3::Ns2ExtWifiPhy::EndReceivePacket(), ns3::Queue::Enqueue(), ns3::NqstaWifiMac::Enqueue(), ns3::NqapWifiMac::Enqueue(), ns3::AdhocWifiMac::Enqueue(), ns3::EmuHelper::EnqueueEvent(), ns3::MacLow::FastAckFailedTimeout(), ns3::MacLow::FastAckTimeout(), ns3::ArpL3Protocol::FindCache(), ns3::GlobalRouter::FindDesignatedRouterForLink(), ns3::Ipv4L3Protocol::FindInterfaceForAddr(), ns3::Ipv4L3Protocol::FindInterfaceForDevice(), ns3::Ipv4L3Protocol::FindInterfaceIndexForDevice(), ns3::GlobalRouteManagerImpl::FindOutgoingTypeId(), ns3::TcpStateMachine::FlagsEvent(), ns3::NqapWifiMac::ForwardDown(), ns3::MacLow::ForwardDown(), ns3::UdpSocketImpl::ForwardIcmp(), ns3::Ipv4EndPoint::ForwardIcmp(), ns3::Ipv4L3Protocol::Forwarding(), ns3::UdpSocketImpl::ForwardUp(), ns3::TcpSocketImpl::ForwardUp(), ns3::Ipv4RawSocketImpl::ForwardUp(), ns3::Ipv4L3Protocol::ForwardUp(), ns3::NqstaWifiMac::ForwardUp(), ns3::NqapWifiMac::ForwardUp(), ns3::EmuNetDevice::ForwardUp(), ns3::PointToPointNetDevice::FrameSizeFromMtu(), ns3::CsmaNetDevice::FrameSizeFromMtu(), ns3::Ipv4L3Protocol::GetAddress(), ns3::SPFVertex::GetChild(), ns3::Simulator::GetDelayLeft(), ns3::Ipv4RawSocketImpl::GetErrno(), ns3::Ipv4L3Protocol::GetIfIndexForDestination(), ns3::Ipv4L3Protocol::GetInterface(), ns3::GlobalRouteManagerLSDB::GetLSA(), ns3::GlobalRouteManagerLSDB::GetLSAByLinkData(), ns3::Ipv4L3Protocol::GetMetric(), ns3::Ipv4L3Protocol::GetMtu(), ns3::PointToPointNetDevice::GetMulticast(), ns3::EmuNetDevice::GetMulticast(), ns3::CsmaNetDevice::GetMulticast(), ns3::BridgeNetDevice::GetMulticast(), ns3::Ipv4L3Protocol::GetMulticastRoute(), ns3::Ipv4L3Protocol::GetNetworkMask(), ns3::Ipv4RawSocketImpl::GetNode(), ns3::Ipv4GlobalRouting::GetRoute(), ns3::Ipv4RawSocketImpl::GetRxAvailable(), ns3::PacketMetadata::GetSerializedSize(), ns3::Ipv4RawSocketImpl::GetTxAvailable(), ns3::GlobalRoutingLinkRecord::GlobalRoutingLinkRecord(), ns3::GlobalRoutingLSA::GlobalRoutingLSA(), ns3::DcaTxop::GotAck(), ns3::DcaTxop::GotCts(), ns3::PacketSink::HandleAccept(), ns3::MacRxMiddle::HandleFragments(), ns3::UdpEchoClient::HandleRead(), ns3::PacketSink::HandleRead(), ns3::CalendarScheduler::Init(), ns3::Buffer::Initialize(), ns3::MapScheduler::Insert(), ns3::GlobalRouteManagerLSDB::Insert(), ns3::Ipv4Interface::Ipv4Interface(), ns3::Ipv4LoopbackInterface::Ipv4LoopbackInterface(), ns3::Ipv4RawSocketImpl::Ipv4RawSocketImpl(), ns3::TagList::IsDirtyAtEnd(), ns3::TagList::IsDirtyAtStart(), ns3::MacRxMiddle::IsDuplicate(), ns3::Simulator::IsExpired(), ns3::Ipv4L3Protocol::IsUp(), ns3::Ipv4L3Protocol::JoinMulticastGroup(), ns3::Ipv4L3Protocol::LeaveMulticastGroup(), ns3::TcpSocketImpl::Listen(), ns3::NscTcpSocketImpl::Listen(), ns3::Ipv4RawSocketImpl::Listen(), ns3::TcpStateMachine::Lookup(), ns3::Ipv4L3Protocol::Lookup(), ns3::Ipv4EndPointDemux::Lookup(), ns3::ArpL3Protocol::Lookup(), ns3::MacRxMiddle::Lookup(), ns3::ConfigImpl::LookupMatches(), ns3::MacLow::MacLow(), ns3::DcaTxop::MissedAck(), ns3::NqstaWifiMac::MissedBeacons(), ns3::DcaTxop::MissedCts(), ns3::olsr::AgentImpl::MprComputation(), ns3::PointToPointNetDevice::MtuFromFrameSize(), ns3::CsmaNetDevice::MtuFromFrameSize(), ns3::GlobalRouter::NetDeviceIsBridged(), ns3::TcpSocketImpl::NewAck(), ns3::TcpSocketImpl::NewRx(), ns3::Node::NonPromiscReceiveFromDevice(), ns3::MacLow::NormalAckTimeout(), ns3::DcaTxop::NotifyAccessGranted(), ns3::DcaTxop::NotifyCollision(), ns3::DcaTxop::NotifyInternalCollision(), ns3::NqapWifiMac::NqapWifiMac(), ns3::NqstaWifiMac::NqstaWifiMac(), ns3::Ns2ExtWifiPhy::Ns2ExtWifiPhy(), ns3::Ns2ExtWifiPhyStateHelper::Ns2ExtWifiPhyStateHelper(), ns3::NscTcpSocketImpl::NscTcpSocketImpl(), ns3::PcapWriter::Open(), ns3::TagList::operator=(), ns3::Buffer::operator=(), ns3::PacketSink::PacketSink(), ns3::ConfigImpl::ParsePath(), ns3::PcapWriter::PcapWriter(), ns3::Queue::Peek(), ns3::Packet::PeekHeader(), ns3::MapScheduler::PeekNext(), ns3::Packet::PeekTrailer(), ns3::PointToPointNetDevice::PointToPointNetDevice(), ns3::olsr::AgentImpl::PopulateMprSelectorSet(), ns3::NqstaWifiMac::ProbeRequestTimeout(), ns3::TcpSocketImpl::ProcessAction(), ns3::GlobalRouter::ProcessBridgedBroadcastLink(), ns3::GlobalRouter::ProcessBroadcastLink(), ns3::TcpSocketImpl::ProcessEvent(), ns3::CsmaNetDevice::ProcessHeader(), ns3::TcpSocketImpl::ProcessPacketAction(), ns3::GlobalRouter::ProcessPointToPointLink(), ns3::GlobalRouter::ProcessSingleBroadcastLink(), ns3::Node::PromiscReceiveFromDevice(), ns3::CsmaChannel::PropagationCompleteEvent(), ns3::CandidateQueue::Push(), ns3::DcaTxop::Queue(), ns3::PacketMetadata::ReadItems(), ns3::CsmaChannel::Reattach(), ns3::UdpL4Protocol::Receive(), ns3::TcpL4Protocol::Receive(), ns3::NscTcpL4Protocol::Receive(), ns3::Ipv4L3Protocol::Receive(), ns3::ArpL3Protocol::Receive(), ns3::NqstaWifiMac::Receive(), ns3::NqapWifiMac::Receive(), ns3::MacRxMiddle::Receive(), ns3::PointToPointNetDevice::Receive(), ns3::CsmaNetDevice::Receive(), ns3::MacLow::ReceiveError(), ns3::UdpL4Protocol::ReceiveIcmp(), ns3::MacLow::ReceiveOk(), ns3::UdpSocketImpl::Recv(), ns3::Ipv4RawSocketImpl::Recv(), ns3::UdpSocketImpl::RecvFrom(), ns3::TcpSocketImpl::RecvFrom(), ns3::NscTcpSocketImpl::RecvFrom(), ns3::Ipv4RawSocketImpl::RecvFrom(), ns3::Simulator::Remove(), ns3::MapScheduler::Remove(), ns3::TagList::RemoveAll(), ns3::Packet::RemoveAllTags(), ns3::Packet::RemoveAtEnd(), ns3::PacketMetadata::RemoveAtEnd(), ns3::Buffer::RemoveAtEnd(), ns3::Packet::RemoveAtStart(), ns3::PacketMetadata::RemoveAtStart(), ns3::Buffer::RemoveAtStart(), ns3::Packet::RemoveHeader(), ns3::PacketMetadata::RemoveHeader(), ns3::Ipv4L3Protocol::RemoveMulticastRoute(), ns3::MapScheduler::RemoveNext(), ns3::Ipv4L3Protocol::RemoveRoute(), ns3::Ipv4GlobalRouting::RemoveRoute(), ns3::Packet::RemoveTrailer(), ns3::PacketMetadata::RemoveTrailer(), ns3::PacketMetadata::ReplaceTail(), ns3::Ipv4StaticRouting::RequestIfIndex(), ns3::Ipv4GlobalRouting::RequestIfIndex(), ns3::Ipv4StaticRouting::RequestRoute(), ns3::Ipv4GlobalRouting::RequestRoute(), ns3::DcaTxop::RestartAccessIfNeeded(), ns3::NqstaWifiMac::RestartBeaconWatchdog(), ns3::TcpSocketImpl::Retransmit(), ns3::TcpSocketImpl::ReTxTimeout(), ns3::EmuHelper::RxEvent(), ns3::Simulator::Schedule(), ns3::RealtimeSimulatorImpl::Schedule(), ns3::Simulator::ScheduleDestroy(), ns3::Simulator::ScheduleNow(), ns3::RealtimeSimulatorImpl::ScheduleRealtime(), ns3::GlobalRouteManagerImpl::SelectRouterNodes(), ns3::UdpSocketImpl::Send(), ns3::UdpL4Protocol::Send(), ns3::TcpSocketImpl::Send(), ns3::TcpL4Protocol::Send(), ns3::NscTcpSocketImpl::Send(), ns3::Ipv4RawSocketImpl::Send(), ns3::Ipv4L3Protocol::Send(), ns3::EmuNetDevice::Send(), ns3::CsmaNetDevice::Send(), ns3::MacLow::SendAckAfterData(), ns3::ArpL3Protocol::SendArpReply(), ns3::ArpL3Protocol::SendArpRequest(), ns3::NqstaWifiMac::SendAssociationRequest(), ns3::NqapWifiMac::SendAssocResp(), ns3::MacLow::SendCtsAfterRts(), ns3::MacLow::SendDataAfterCts(), ns3::MacLow::SendDataPacket(), ns3::Icmpv4L4Protocol::SendDestUnreach(), ns3::Icmpv4L4Protocol::SendDestUnreachPort(), ns3::TcpSocketImpl::SendEmptyPacket(), ns3::EmuNetDevice::SendFrom(), ns3::CsmaNetDevice::SendFrom(), ns3::olsr::AgentImpl::SendHello(), ns3::NqapWifiMac::SendOneBeacon(), ns3::TcpL4Protocol::SendPacket(), ns3::YansWifiPhy::SendPacket(), ns3::Ns2ExtWifiPhy::SendPacket(), ns3::TcpSocketImpl::SendPendingData(), ns3::NscTcpSocketImpl::SendPendingData(), ns3::NqstaWifiMac::SendProbeRequest(), ns3::NqapWifiMac::SendProbeResp(), ns3::Ipv4L3Protocol::SendRealOut(), ns3::MacLow::SendRtsForPacket(), ns3::olsr::AgentImpl::SendTc(), ns3::UdpSocketImpl::SendTo(), ns3::TcpSocketImpl::SendTo(), ns3::NscTcpSocketImpl::SendTo(), ns3::Ipv4RawSocketImpl::SendTo(), ns3::Ipv4LoopbackInterface::SendTo(), ns3::ArpIpv4Interface::SendTo(), ns3::MacRxMiddle::SequenceControlSmaller(), ns3::Packet::Serialize(), ns3::PacketMetadata::Serialize(), ns3::NqstaWifiMac::SetActiveProbing(), ns3::Ipv4L3Protocol::SetAddress(), ns3::Ipv4Interface::SetAddress(), ns3::NqstaWifiMac::SetAddress(), ns3::NqapWifiMac::SetAddress(), ns3::EmuNetDevice::SetAddress(), ns3::CsmaNetDevice::SetAddress(), ns3::DcaTxop::SetAifsn(), ns3::NqstaWifiMac::SetAssocRequestTimeout(), ns3::CsmaNetDevice::SetBackoffParams(), ns3::NqapWifiMac::SetBeaconGeneration(), ns3::NqapWifiMac::SetBeaconInterval(), ns3::NqstaWifiMac::SetBssid(), ns3::Ns2ExtWifiPhy::SetCarrierSenseThreshold(), ns3::YansWifiPhy::SetCcaMode1Threshold(), ns3::YansWifiPhy::SetConstantNoiseFloor(), ns3::Ns2ExtWifiPhy::SetConstantNoiseFloor(), ns3::EmuNetDevice::SetDataRate(), ns3::Ipv4L3Protocol::SetDefaultMulticastRoute(), ns3::Ipv4L3Protocol::SetDefaultRoute(), ns3::SPFVertex::SetDistanceFromRoot(), ns3::Ipv4L3Protocol::SetDown(), ns3::YansWifiPhy::SetEdThreshold(), ns3::NqstaWifiMac::SetEifsNoDifs(), ns3::NqapWifiMac::SetEifsNoDifs(), ns3::CsmaNetDevice::SetEncapsulationMode(), ns3::NqapWifiMac::SetForwardUpCallback(), ns3::PointToPointNetDevice::SetFrameSize(), ns3::CsmaNetDevice::SetFrameSize(), ns3::RealtimeSimulatorImpl::SetHardLimit(), ns3::CsmaNetDevice::SetIfIndex(), ns3::CsmaNetDevice::SetInterframeGap(), ns3::ArpCache::Entry::SetIpv4Address(), ns3::CsmaNetDevice::SetLinkChangeCallback(), ns3::NqapWifiMac::SetLinkDownCallback(), ns3::NqapWifiMac::SetLinkUpCallback(), ns3::DcaTxop::SetLow(), ns3::SPFVertex::SetLSA(), ns3::DcaTxop::SetManager(), ns3::OnOffApplication::SetMaxBytes(), ns3::DcaTxop::SetMaxCw(), ns3::NqstaWifiMac::SetMaxMissedBeacons(), ns3::DcaTxop::SetMaxQueueDelay(), ns3::DcaTxop::SetMaxQueueSize(), ns3::Ipv4L3Protocol::SetMetric(), ns3::Ipv4Interface::SetMetric(), ns3::DcaTxop::SetMinCw(), ns3::PointToPointNetDevice::SetMtu(), ns3::CsmaNetDevice::SetMtu(), ns3::Channel::SetName(), ns3::CsmaNetDevice::SetName(), ns3::Ipv4L3Protocol::SetNetworkMask(), ns3::Ipv4Interface::SetNetworkMask(), ns3::SPFVertex::SetNextHop(), ns3::ArpL3Protocol::SetNode(), ns3::CsmaNetDevice::SetNode(), ns3::YansWifiPhy::SetNTxPower(), ns3::Ns2ExtWifiPhy::SetNTxPower(), ns3::SPFVertex::SetOutgoingTypeId(), ns3::SPFVertex::SetParent(), ns3::NqstaWifiMac::SetProbeRequestTimeout(), ns3::CsmaNetDevice::SetPromiscReceiveCallback(), ns3::Ipv4RawSocketImpl::SetProtocol(), ns3::PointToPointNetDevice::SetQueue(), ns3::EmuNetDevice::SetQueue(), ns3::CsmaNetDevice::SetQueue(), ns3::CsmaNetDevice::SetReceiveCallback(), ns3::CsmaNetDevice::SetReceiveEnable(), ns3::PointToPointNetDevice::SetReceiveErrorModel(), ns3::CsmaNetDevice::SetReceiveErrorModel(), ns3::YansWifiPhy::SetRxGain(), ns3::Ns2ExtWifiPhy::SetRxGain(), ns3::YansWifiPhy::SetRxNoise(), ns3::Ns2ExtWifiPhy::SetRxNoise(), ns3::Simulator::SetScheduler(), ns3::CsmaNetDevice::SetSendEnable(), ns3::NqstaWifiMac::SetSifs(), ns3::NqapWifiMac::SetSifs(), ns3::NqstaWifiMac::SetSlot(), ns3::NqapWifiMac::SetSlot(), ns3::NqstaWifiMac::SetSsid(), ns3::NqapWifiMac::SetSsid(), ns3::YansWifiPhy::SetStandard(), ns3::Ns2ExtWifiPhy::SetStandard(), ns3::RealtimeSimulatorImpl::SetSynchronizationMode(), ns3::YansWifiPhy::SetTxGain(), ns3::Ns2ExtWifiPhy::SetTxGain(), ns3::YansWifiPhy::SetTxPowerEnd(), ns3::Ns2ExtWifiPhy::SetTxPowerEnd(), ns3::YansWifiPhy::SetTxPowerStart(), ns3::Ns2ExtWifiPhy::SetTxPowerStart(), ns3::Ipv4L3Protocol::SetUp(), ns3::YansWifiPhy::SetUseConstantNoiseFloor(), ns3::Ns2ExtWifiPhy::SetUseConstantNoiseFloor(), ns3::SPFVertex::SetVertexId(), ns3::SPFVertex::SetVertexType(), ns3::NqapWifiMac::SetWifiPhy(), ns3::NqapWifiMac::SetWifiRemoteStationManager(), ns3::DcaTxop::SetWifiRemoteStationManager(), ns3::Ipv4RawSocketImpl::ShutdownRecv(), ns3::Ipv4RawSocketImpl::ShutdownSend(), ns3::GlobalRouteManagerImpl::SPFCalculate(), ns3::GlobalRouteManagerImpl::SPFGetNextLink(), ns3::GlobalRouteManagerImpl::SPFIntraAddRouter(), ns3::GlobalRouteManagerImpl::SPFIntraAddTransit(), ns3::GlobalRouteManagerImpl::SPFNext(), ns3::GlobalRouteManagerImpl::SPFNexthopCalculation(), ns3::GlobalRouteManagerImpl::SPFVertexAddParent(), ns3::EmuNetDevice::Start(), ns3::DcaTxop::StartAccessIfNeeded(), ns3::NqstaWifiMac::StartActiveAssociation(), ns3::PacketSink::StartApplication(), ns3::NqapWifiMac::StartBeaconing(), ns3::DcaTxop::StartNext(), ns3::YansWifiPhy::StartReceivePacket(), ns3::Ns2ExtWifiPhy::StartReceivePacket(), ns3::MacLow::StartTransmission(), ns3::Simulator::Stop(), ns3::EmuNetDevice::Stop(), ns3::PacketSink::StopApplication(), ns3::MacLow::SuperFastAckTimeout(), ns3::TagList::TagList(), ns3::TcpSocketImpl::TcpSocketImpl(), ns3::CsmaChannel::TransmitEnd(), ns3::PointToPointNetDevice::TransmitStart(), ns3::PointToPointChannel::TransmitStart(), ns3::CsmaChannel::TransmitStart(), ns3::NqstaWifiMac::TryToEnsureAssociated(), ns3::NqapWifiMac::TxFailed(), ns3::NqapWifiMac::TxOk(), ns3::PacketMetadata::UpdateHead(), ns3::PacketMetadata::UpdateTail(), ns3::WifiPhy::WifiPhy(), ns3::PcapWriter::WriteHeader(), ns3::YansWifiPhy::YansWifiPhy(), ns3::YansWifiPhyStateHelper::YansWifiPhyStateHelper(), ns3::ArpCache::~ArpCache(), ns3::ArpIpv4Interface::~ArpIpv4Interface(), ns3::ArpL3Protocol::~ArpL3Protocol(), ns3::Buffer::~Buffer(), ns3::CalendarScheduler::~CalendarScheduler(), ns3::DcaTxop::~DcaTxop(), ns3::Ipv4L3Protocol::~Ipv4L3Protocol(), ns3::Ipv4LoopbackInterface::~Ipv4LoopbackInterface(), ns3::MacLow::~MacLow(), ns3::NqapWifiMac::~NqapWifiMac(), ns3::NqstaWifiMac::~NqstaWifiMac(), ns3::Ns2ExtWifiPhy::~Ns2ExtWifiPhy(), ns3::NscTcpL4Protocol::~NscTcpL4Protocol(), ns3::NscTcpSocketImpl::~NscTcpSocketImpl(), ns3::PacketSink::~PacketSink(), ns3::PcapWriter::~PcapWriter(), ns3::TagList::~TagList(), ns3::TcpSocketImpl::~TcpSocketImpl(), ns3::WifiPhy::~WifiPhy(), and ns3::YansWifiPhy::~YansWifiPhy().
#define NS_LOG_FUNCTION_NOARGS | ( | ) |
do \ { \ if (g_log.IsEnabled (ns3::LOG_FUNCTION)) \ { \ NS_LOG_APPEND_TIME_PREFIX; \ NS_LOG_APPEND_CONTEXT; \ std::clog << g_log.Name () << ":" \ << __FUNCTION__ << "()" << std::endl; \ } \ } \ while (false)
Output the name of the function.
Definition at line 242 of file log.h.
Referenced by ns3::ArpCache::Add(), ns3::Ipv4AddressGenerator::AddAllocated(), ns3::Ipv4AddressGeneratorImpl::AddAllocated(), ns3::GlobalRoutingLSA::AddAttachedRouter(), ns3::BridgeNetDevice::AddBridgePort(), ns3::PointToPointNetDevice::AddHeader(), ns3::Ipv4StaticRouting::AddHostRouteTo(), ns3::GlobalRoutingLSA::AddLinkRecord(), ns3::Ipv4StaticRouting::AddMulticastRoute(), ns3::Ipv4StaticRouting::AddNetworkRouteTo(), ns3::UdpL4Protocol::Allocate(), ns3::TcpL4Protocol::Allocate(), ns3::Ipv4EndPointDemux::Allocate(), ns3::Ipv4EndPointDemux::AllocateEphemeralPort(), ns3::Ipv4AddressHelper::Assign(), ns3::TcpSocketImpl::AvailableWindow(), ns3::PacketSocket::Bind(), ns3::UdpSocketImpl::Bind(), ns3::TcpSocketImpl::Bind(), ns3::NscTcpSocketImpl::Bind(), ns3::SystemThread::Break(), ns3::SystemThreadImpl::Break(), ns3::BridgeChannel::BridgeChannel(), ns3::BridgeHelper::BridgeHelper(), ns3::BridgeNetDevice::BridgeNetDevice(), ns3::SystemCondition::Broadcast(), ns3::SystemConditionPrivate::Broadcast(), ns3::GlobalRouteManagerImpl::BuildGlobalRoutingDatabase(), ns3::TcpSocketImpl::BytesInFlight(), ns3::OnOffApplication::CancelEvents(), ns3::CandidateQueue::CandidateQueue(), ns3::Channel::Channel(), ns3::olsr::RoutingTable::Clear(), ns3::CandidateQueue::Clear(), ns3::GlobalRoutingLSA::ClearLinkRecords(), ns3::GlobalRouter::ClearLSAs(), ns3::ArpCache::Entry::ClearRetries(), ns3::PacketSocket::Close(), ns3::UdpSocketImpl::Close(), ns3::TcpSocketImpl::Close(), ns3::PacketSocket::Connect(), ns3::OnOffApplication::ConnectionFailed(), ns3::OnOffApplication::ConnectionSucceeded(), ns3::GlobalRoutingLSA::CopyLinkRecords(), ns3::UdpL4Protocol::CreateSocket(), ns3::TcpL4Protocol::CreateSocket(), ns3::EmuNetDevice::CreateSocket(), ns3::CriticalSection::CriticalSection(), ns3::CsmaChannel::CsmaChannel(), ns3::DataCalculator::DataCalculator(), ns3::DataCollector::DataCollector(), ns3::DataOutputInterface::DataOutputInterface(), ns3::Ipv4EndPointDemux::DeAllocate(), ns3::NodeListPriv::Delete(), ns3::GlobalRouteManagerImpl::DeleteGlobalRoutes(), ns3::ArpCache::Entry::DequeuePending(), ns3::Simulator::Destroy(), ns3::RealtimeSimulatorImpl::Destroy(), ns3::UdpSocketImpl::Destroy(), ns3::TcpSocketImpl::Destroy(), ns3::NscTcpSocketImpl::Destroy(), ns3::ErrorModel::Disable(), ns3::GlobalRouter::DiscoverLSAs(), ns3::PacketSocket::DoBind(), ns3::ListErrorModel::DoCorrupt(), ns3::RateErrorModel::DoCorrupt(), ns3::RateErrorModel::DoCorruptBit(), ns3::RateErrorModel::DoCorruptByte(), ns3::RateErrorModel::DoCorruptPkt(), ns3::GlobalRouter::DoDispose(), ns3::PacketSocket::DoDispose(), ns3::UdpL4Protocol::DoDispose(), ns3::TcpL4Protocol::DoDispose(), ns3::Ipv4StaticRouting::DoDispose(), ns3::Ipv4Interface::DoDispose(), ns3::Ipv4GlobalRouting::DoDispose(), ns3::PointToPointNetDevice::DoDispose(), ns3::EmuNetDevice::DoDispose(), ns3::CsmaNetDevice::DoDispose(), ns3::BridgeNetDevice::DoDispose(), ns3::SqliteDataOutput::DoDispose(), ns3::PacketSizeMinMaxAvgTotalCalculator::DoDispose(), ns3::PacketCounterCalculator::DoDispose(), ns3::OmnetDataOutput::DoDispose(), ns3::DataOutputInterface::DoDispose(), ns3::DataCollector::DoDispose(), ns3::DataCalculator::DoDispose(), ns3::UdpEchoServer::DoDispose(), ns3::UdpEchoClient::DoDispose(), ns3::OnOffApplication::DoDispose(), ns3::WallClockSynchronizer::DoEventEnd(), ns3::WallClockSynchronizer::DoEventStart(), ns3::WallClockSynchronizer::DoGetCurrentRealtime(), ns3::WallClockSynchronizer::DoGetDrift(), ns3::WallClockSynchronizer::DoRealtime(), ns3::ListErrorModel::DoReset(), ns3::RateErrorModel::DoReset(), ns3::SystemThreadImpl::DoRun(), ns3::WallClockSynchronizer::DoSetCondition(), ns3::WallClockSynchronizer::DoSetOrigin(), ns3::WallClockSynchronizer::DoSignal(), ns3::WallClockSynchronizer::DoSynchronize(), ns3::DropTailQueue::DropTailQueue(), ns3::CandidateQueue::Empty(), ns3::EmuHelper::EmuHelper(), ns3::ErrorModel::Enable(), ns3::Packet::EnableChecking(), ns3::Packet::EnableMetadata(), ns3::Packet::EnablePrinting(), ns3::ArpCache::Entry::Entry(), ns3::ErrorModel::ErrorModel(), ns3::CandidateQueue::Find(), ns3::GlobalRouter::FindIfIndexForDevice(), ns3::UdpSocketImpl::FinishBind(), ns3::TcpSocketImpl::FinishBind(), ns3::NscTcpSocketImpl::FinishBind(), ns3::ArpCache::Flush(), ns3::BridgeNetDevice::ForwardBroadcast(), ns3::BridgeNetDevice::ForwardUnicast(), ns3::PacketSocket::ForwardUp(), ns3::PacketSizeMinMaxAvgTotalCalculator::FrameUpdate(), ns3::PacketCounterCalculator::FrameUpdate(), ns3::Ipv4AddressGenerator::GetAddress(), ns3::Ipv4AddressGeneratorImpl::GetAddress(), ns3::Ipv4Interface::GetAddress(), ns3::EmuNetDevice::GetAddress(), ns3::CsmaNetDevice::GetAddress(), ns3::BridgeNetDevice::GetAddress(), ns3::GlobalRouter::GetAdjacent(), ns3::GlobalRoutingLSA::GetAdvertisingRouter(), ns3::ArpCache::GetAliveTimeout(), ns3::Ipv4EndPointDemux::GetAllEndPoints(), ns3::GlobalRoutingLSA::GetAttachedRouter(), ns3::BridgeNetDevice::GetBridgePort(), ns3::Ipv4Interface::GetBroadcast(), ns3::CsmaNetDevice::GetBroadcast(), ns3::BridgeNetDevice::GetBroadcast(), ns3::CsmaNetDevice::GetChannel(), ns3::BridgeNetDevice::GetChannel(), ns3::SystemCondition::GetCondition(), ns3::SystemConditionPrivate::GetCondition(), ns3::ArpCache::GetDeadTimeout(), ns3::Ipv4StaticRouting::GetDefaultMulticastRoute(), ns3::Ipv4StaticRouting::GetDefaultRoute(), ns3::ArpCache::GetDevice(), ns3::PointToPointChannel::GetDevice(), ns3::SPFVertex::GetDistanceFromRoot(), ns3::CsmaNetDevice::GetEncapsulationMode(), ns3::PacketSocket::GetErrno(), ns3::UdpSocketImpl::GetErrno(), ns3::TcpSocketImpl::GetErrno(), ns3::NscTcpSocketImpl::GetErrno(), ns3::RealtimeSimulatorImpl::GetHardLimit(), ns3::CsmaNetDevice::GetIfIndex(), ns3::BridgeNetDevice::GetIfIndex(), ns3::ArpCache::GetInterface(), ns3::ArpCache::Entry::GetIpv4Address(), ns3::BridgeNetDevice::GetLearnedState(), ns3::GlobalRoutingLinkRecord::GetLinkData(), ns3::GlobalRoutingLinkRecord::GetLinkId(), ns3::GlobalRoutingLSA::GetLinkRecord(), ns3::GlobalRoutingLSA::GetLinkStateId(), ns3::GlobalRoutingLinkRecord::GetLinkType(), ns3::ListErrorModel::GetList(), ns3::GlobalRouter::GetLSA(), ns3::SPFVertex::GetLSA(), ns3::GlobalRoutingLSA::GetLSType(), ns3::ArpCache::Entry::GetMacAddress(), ns3::Simulator::GetMaximumSimulationTime(), ns3::GlobalRoutingLinkRecord::GetMetric(), ns3::Ipv4Interface::GetMetric(), ns3::Ipv4Interface::GetMtu(), ns3::PointToPointNetDevice::GetMtu(), ns3::CsmaNetDevice::GetMtu(), ns3::BridgeNetDevice::GetMtu(), ns3::Ipv4StaticRouting::GetMulticastRoute(), ns3::Channel::GetName(), ns3::CsmaNetDevice::GetName(), ns3::BridgeNetDevice::GetName(), ns3::GlobalRoutingLSA::GetNAttachedRouters(), ns3::BridgeNetDevice::GetNBridgePorts(), ns3::Queue::GetNBytes(), ns3::SPFVertex::GetNChildren(), ns3::PointToPointChannel::GetNDevices(), ns3::Ipv4AddressGenerator::GetNetwork(), ns3::Ipv4AddressGeneratorImpl::GetNetwork(), ns3::GlobalRoutingLSA::GetNetworkLSANetworkMask(), ns3::Ipv4Interface::GetNetworkMask(), ns3::SPFVertex::GetNextHop(), ns3::Ipv4L3Protocol::GetNInterfaces(), ns3::GlobalRoutingLSA::GetNLinkRecords(), ns3::Ipv4StaticRouting::GetNMulticastRoutes(), ns3::Ipv4L3Protocol::GetNMulticastRoutes(), ns3::PacketSocket::GetNode(), ns3::UdpSocketImpl::GetNode(), ns3::TcpSocketImpl::GetNode(), ns3::NscTcpSocketImpl::GetNode(), ns3::CsmaNetDevice::GetNode(), ns3::BridgeNetDevice::GetNode(), ns3::Queue::GetNPackets(), ns3::Ipv4StaticRouting::GetNRoutes(), ns3::Ipv4L3Protocol::GetNRoutes(), ns3::Ipv4GlobalRouting::GetNRoutes(), ns3::GlobalRouter::GetNumLSAs(), ns3::SPFVertex::GetOutgoingTypeId(), ns3::SPFVertex::GetParent(), ns3::PointToPointChannel::GetPointToPointDevice(), ns3::PointToPointNetDevice::GetQueue(), ns3::EmuNetDevice::GetQueue(), ns3::CsmaNetDevice::GetQueue(), ns3::RateErrorModel::GetRate(), ns3::ArpCache::Entry::GetRetries(), ns3::Ipv4StaticRouting::GetRoute(), ns3::Ipv4L3Protocol::GetRoute(), ns3::GlobalRouter::GetRouterId(), ns3::PacketSocket::GetRxAvailable(), ns3::UdpSocketImpl::GetRxAvailable(), ns3::TcpSocketImpl::GetRxAvailable(), ns3::NscTcpSocketImpl::GetRxAvailable(), ns3::RealtimeSimulatorImpl::GetScheduler(), ns3::PacketSocket::GetSockName(), ns3::UdpSocketImpl::GetSockName(), ns3::TcpSocketImpl::GetSockName(), ns3::NscTcpSocketImpl::GetSockName(), ns3::GlobalRoutingLSA::GetStatus(), ns3::RealtimeSimulatorImpl::GetSynchronizationMode(), ns3::Queue::GetTotalDroppedBytes(), ns3::Queue::GetTotalDroppedPackets(), ns3::Queue::GetTotalReceivedBytes(), ns3::Queue::GetTotalReceivedPackets(), ns3::UdpSocketImpl::GetTxAvailable(), ns3::TcpSocketImpl::GetTxAvailable(), ns3::NscTcpSocketImpl::GetTxAvailable(), ns3::RateErrorModel::GetUnit(), ns3::SPFVertex::GetVertexId(), ns3::SPFVertex::GetVertexType(), ns3::ArpCache::GetWaitReplyTimeout(), ns3::GlobalRouteManagerImpl::GlobalRouteManagerImpl(), ns3::GlobalRouteManagerLSDB::GlobalRouteManagerLSDB(), ns3::GlobalRouter::GlobalRouter(), ns3::GlobalRoutingLinkRecord::GlobalRoutingLinkRecord(), ns3::GlobalRoutingLSA::GlobalRoutingLSA(), ns3::ArpCache::HandleWaitReplyTimeout(), ns3::ArpCache::Entry::IncrementRetries(), ns3::Ipv4AddressGenerator::Init(), ns3::Ipv4AddressGeneratorImpl::Init(), ns3::Ipv4AddressGenerator::InitAddress(), ns3::Ipv4AddressGeneratorImpl::InitAddress(), ns3::GlobalRouteManagerLSDB::Initialize(), ns3::GlobalRouteManagerImpl::InitializeRoutes(), ns3::BridgeHelper::Install(), ns3::Ipv4AddressGeneratorImpl::Ipv4AddressGeneratorImpl(), ns3::Ipv4AddressHelper::Ipv4AddressHelper(), ns3::Ipv4GlobalRouting::Ipv4GlobalRouting(), ns3::Ipv4L3Protocol::Ipv4L3Protocol(), ns3::Ipv4StaticRouting::Ipv4StaticRouting(), ns3::ArpCache::Entry::IsAlive(), ns3::CsmaNetDevice::IsBridge(), ns3::BridgeNetDevice::IsBridge(), ns3::CsmaNetDevice::IsBroadcast(), ns3::BridgeNetDevice::IsBroadcast(), ns3::ErrorModel::IsCorrupt(), ns3::ArpCache::Entry::IsDead(), ns3::Ipv4Interface::IsDown(), ns3::GlobalRoutingLSA::IsEmpty(), ns3::Queue::IsEmpty(), ns3::ErrorModel::IsEnabled(), ns3::ArpCache::Entry::IsExpired(), ns3::Simulator::IsFinished(), ns3::RealtimeSimulatorImpl::IsFinished(), ns3::CsmaNetDevice::IsLinkUp(), ns3::BridgeNetDevice::IsLinkUp(), ns3::CsmaNetDevice::IsMulticast(), ns3::BridgeNetDevice::IsMulticast(), ns3::CsmaNetDevice::IsPointToPoint(), ns3::BridgeNetDevice::IsPointToPoint(), ns3::CsmaNetDevice::IsReceiveEnabled(), ns3::CsmaNetDevice::IsSendEnabled(), ns3::Ipv4Interface::IsUp(), ns3::ArpCache::Entry::IsWaitReply(), ns3::SystemThread::Join(), ns3::SystemThreadImpl::Join(), ns3::BridgeNetDevice::Learn(), ns3::ListErrorModel::ListErrorModel(), ns3::SystemMutex::Lock(), ns3::SystemMutexPrivate::Lock(), ns3::Ipv4EndPointDemux::Lookup(), ns3::ArpCache::Lookup(), ns3::Ipv4GlobalRouting::LookupGlobal(), ns3::Ipv4EndPointDemux::LookupLocal(), ns3::Ipv4EndPointDemux::LookupPortLocal(), ns3::Ipv4StaticRouting::LookupStatic(), ns3::MacRxMiddle::MacRxMiddle(), ns3::ArpCache::Entry::MarkAlive(), ns3::ArpCache::Entry::MarkDead(), ns3::ArpCache::Entry::MarkWaitReply(), ns3::CsmaNetDevice::NeedsArp(), ns3::BridgeNetDevice::NeedsArp(), ns3::Ipv4AddressHelper::NewNetwork(), ns3::Simulator::Next(), ns3::RealtimeSimulatorImpl::Next(), ns3::Ipv4AddressGenerator::NextAddress(), ns3::Ipv4AddressGeneratorImpl::NextAddress(), ns3::Ipv4AddressGenerator::NextNetwork(), ns3::Ipv4AddressGeneratorImpl::NextNetwork(), ns3::RealtimeSimulatorImpl::NextTs(), ns3::NodeListPriv::NodeListPriv(), ns3::Socket::NotifyConnectionFailed(), ns3::Socket::NotifyConnectionRequest(), ns3::Socket::NotifyConnectionSucceeded(), ns3::Socket::NotifyDataRecv(), ns3::Socket::NotifyDataSent(), ns3::CsmaNetDevice::NotifyLinkUp(), ns3::Socket::NotifyNewConnectionCreated(), ns3::Socket::NotifySend(), ns3::NscTcpSocketImpl::NscTcpSocketImpl(), ns3::Ipv4AddressHelper::NumAddressBits(), ns3::OmnetDataOutput::OmnetDataOutput(), ns3::OnOffApplication::OnOffApplication(), ns3::GlobalRoutingLSA::operator=(), ns3::PacketCounterCalculator::PacketCounterCalculator(), ns3::PacketSizeMinMaxAvgTotalCalculator::PacketSizeMinMaxAvgTotalCalculator(), ns3::PacketSocket::PacketSocket(), ns3::PacketSizeMinMaxAvgTotalCalculator::PacketUpdate(), ns3::PacketCounterCalculator::PacketUpdate(), ns3::PointToPointChannel::PointToPointChannel(), ns3::CandidateQueue::Pop(), ns3::PointToPointNetDevice::ProcessHeader(), ns3::RealtimeSimulatorImpl::ProcessOneEvent(), ns3::Queue::Queue(), ns3::RateErrorModel::RateErrorModel(), ns3::EmuNetDevice::ReadThread(), ns3::RealtimeSimulatorImpl::Realtime(), ns3::RealtimeSimulatorImpl::RealtimeSimulatorImpl(), ns3::BridgeNetDevice::ReceiveFromDevice(), ns3::Socket::Recv(), ns3::PacketSocket::Recv(), ns3::TcpSocketImpl::Recv(), ns3::NscTcpSocketImpl::Recv(), ns3::Socket::RecvFrom(), ns3::PacketSocket::RecvFrom(), ns3::Ipv4StaticRouting::RemoveMulticastRoute(), ns3::Ipv4StaticRouting::RemoveRoute(), ns3::CandidateQueue::Reorder(), ns3::Ipv4AddressGenerator::Reset(), ns3::Ipv4AddressGeneratorImpl::Reset(), ns3::ErrorModel::Reset(), ns3::Queue::ResetStatistics(), ns3::Simulator::Run(), ns3::RealtimeSimulatorImpl::Run(), ns3::RealtimeSimulatorImpl::Running(), ns3::Simulator::RunOneEvent(), ns3::RealtimeSimulatorImpl::RunOneEvent(), ns3::RealtimeSimulatorImpl::ScheduleDestroy(), ns3::OnOffApplication::ScheduleNextTx(), ns3::RealtimeSimulatorImpl::ScheduleNow(), ns3::RealtimeSimulatorImpl::ScheduleRealtimeNow(), ns3::OnOffApplication::ScheduleStartEvent(), ns3::OnOffApplication::ScheduleStopEvent(), ns3::UdpEchoClient::ScheduleTransmit(), ns3::GlobalRouteManagerImpl::SelectRouterNodes(), ns3::Socket::Send(), ns3::PacketSocket::Send(), ns3::Ipv4Interface::Send(), ns3::PointToPointNetDevice::Send(), ns3::BridgeNetDevice::Send(), ns3::UdpEchoClient::Send(), ns3::BridgeNetDevice::SendFrom(), ns3::OnOffApplication::SendPacket(), ns3::Socket::SendTo(), ns3::PacketSocket::SendTo(), ns3::Socket::SetAcceptCallback(), ns3::GlobalRoutingLSA::SetAdvertisingRouter(), ns3::ArpCache::SetAliveTimeout(), ns3::ArpCache::SetArpRequestCallback(), ns3::EmuHelper::SetAttribute(), ns3::Ipv4AddressHelper::SetBase(), ns3::SystemCondition::SetCondition(), ns3::SystemConditionPrivate::SetCondition(), ns3::Socket::SetConnectCallback(), ns3::PointToPointNetDevice::SetDataRate(), ns3::Socket::SetDataSentCallback(), ns3::ArpCache::SetDeadTimeout(), ns3::Ipv4StaticRouting::SetDefaultMulticastRoute(), ns3::Ipv4StaticRouting::SetDefaultRoute(), ns3::Ipv4L3Protocol::SetDefaultTtl(), ns3::ArpCache::SetDevice(), ns3::BridgeHelper::SetDeviceAttribute(), ns3::RandomDirection2dMobilityModel::SetDirectionAndSpeed(), ns3::Ipv4Interface::SetDown(), ns3::MacRxMiddle::SetForwardCallback(), ns3::BridgeNetDevice::SetIfIndex(), ns3::PointToPointNetDevice::SetInterframeGap(), ns3::GlobalRoutingLinkRecord::SetLinkData(), ns3::GlobalRoutingLinkRecord::SetLinkId(), ns3::GlobalRoutingLSA::SetLinkStateId(), ns3::GlobalRoutingLinkRecord::SetLinkType(), ns3::ListErrorModel::SetList(), ns3::GlobalRoutingLSA::SetLSType(), ns3::GlobalRoutingLinkRecord::SetMetric(), ns3::BridgeNetDevice::SetMtu(), ns3::BridgeNetDevice::SetName(), ns3::GlobalRoutingLSA::SetNetworkLSANetworkMask(), ns3::PacketSocket::SetNode(), ns3::UdpSocketImpl::SetNode(), ns3::BridgeNetDevice::SetNode(), ns3::BridgeNetDevice::SetPromiscReceiveCallback(), ns3::EmuHelper::SetQueue(), ns3::RateErrorModel::SetRandomVariable(), ns3::RateErrorModel::SetRate(), ns3::BridgeNetDevice::SetReceiveCallback(), ns3::Socket::SetRecvCallback(), ns3::RealtimeSimulatorImpl::SetScheduler(), ns3::Socket::SetSendCallback(), ns3::GlobalRoutingLSA::SetStatus(), ns3::UdpSocketImpl::SetUdp(), ns3::RateErrorModel::SetUnit(), ns3::Ipv4Interface::SetUp(), ns3::Ipv4L3Protocol::SetupLoopback(), ns3::ArpCache::SetWaitReplyTimeout(), ns3::SystemThread::Shutdown(), ns3::SystemThreadImpl::Shutdown(), ns3::PacketSocket::ShutdownRecv(), ns3::UdpSocketImpl::ShutdownRecv(), ns3::TcpSocketImpl::ShutdownRecv(), ns3::NscTcpSocketImpl::ShutdownRecv(), ns3::PacketSocket::ShutdownSend(), ns3::UdpSocketImpl::ShutdownSend(), ns3::TcpSocketImpl::ShutdownSend(), ns3::NscTcpSocketImpl::ShutdownSend(), ns3::SystemCondition::Signal(), ns3::SystemConditionPrivate::Signal(), ns3::CandidateQueue::Size(), ns3::WallClockSynchronizer::SleepWait(), ns3::Socket::Socket(), ns3::GlobalRouteManagerImpl::SPFIntraAddStub(), ns3::GlobalRouteManagerImpl::SPFProcessStubs(), ns3::SPFVertex::SPFVertex(), ns3::WallClockSynchronizer::SpinWait(), ns3::SqliteDataOutput::SqliteDataOutput(), ns3::SystemThread::Start(), ns3::SystemThreadImpl::Start(), ns3::UdpEchoServer::StartApplication(), ns3::UdpEchoClient::StartApplication(), ns3::OnOffApplication::StartApplication(), ns3::EmuNetDevice::StartDevice(), ns3::OnOffApplication::StartSending(), ns3::ArpCache::StartWaitReplyTimer(), ns3::RealtimeSimulatorImpl::Stop(), ns3::UdpEchoServer::StopApplication(), ns3::UdpEchoClient::StopApplication(), ns3::OnOffApplication::StopApplication(), ns3::EmuNetDevice::StopDevice(), ns3::OnOffApplication::StopSending(), ns3::EmuNetDevice::SupportsSendFrom(), ns3::CsmaNetDevice::SupportsSendFrom(), ns3::BridgeNetDevice::SupportsSendFrom(), ns3::SystemCondition::SystemCondition(), ns3::SystemConditionPrivate::SystemConditionPrivate(), ns3::SystemMutex::SystemMutex(), ns3::SystemMutexPrivate::SystemMutexPrivate(), ns3::SystemThread::SystemThread(), ns3::SystemThreadImpl::SystemThreadImpl(), ns3::TcpL4Protocol::TcpL4Protocol(), ns3::TcpSocket::TcpSocket(), ns3::TcpSocketImpl::TcpSocketImpl(), ns3::TcpStateMachine::TcpStateMachine(), ns3::Ipv4AddressGenerator::TestMode(), ns3::Ipv4AddressGeneratorImpl::TestMode(), ns3::SystemCondition::TimedWait(), ns3::SystemConditionPrivate::TimedWait(), ns3::CandidateQueue::Top(), ns3::CsmaNetDevice::TransmitAbort(), ns3::PointToPointNetDevice::TransmitComplete(), ns3::CsmaNetDevice::TransmitCompleteEvent(), ns3::CsmaNetDevice::TransmitReadyEvent(), ns3::CsmaNetDevice::TransmitStart(), ns3::UdpEchoClient::UdpEchoClient(), ns3::UdpEchoServer::UdpEchoServer(), ns3::UdpL4Protocol::UdpL4Protocol(), ns3::UdpSocket::UdpSocket(), ns3::UdpSocketImpl::UdpSocketImpl(), ns3::TcpSocketImpl::UnAckDataCount(), ns3::SystemMutex::Unlock(), ns3::SystemMutexPrivate::Unlock(), ns3::ArpCache::Entry::UpdateSeen(), ns3::ArpCache::Entry::UpdateWaitReply(), ns3::SystemCondition::Wait(), ns3::SystemConditionPrivate::Wait(), ns3::WallClockSynchronizer::WallClockSynchronizer(), ns3::TcpSocketImpl::Window(), ns3::PcapWriter::WriteEthernetHeader(), ns3::PcapWriter::WriteIpHeader(), ns3::PcapWriter::WritePppHeader(), ns3::PcapWriter::WriteWifiHeader(), ns3::BridgeChannel::~BridgeChannel(), ns3::BridgeNetDevice::~BridgeNetDevice(), ns3::CandidateQueue::~CandidateQueue(), ns3::Channel::~Channel(), ns3::CriticalSection::~CriticalSection(), ns3::CsmaNetDevice::~CsmaNetDevice(), ns3::DataCalculator::~DataCalculator(), ns3::DataCollector::~DataCollector(), ns3::DataOutputInterface::~DataOutputInterface(), ns3::DropTailQueue::~DropTailQueue(), ns3::ErrorModel::~ErrorModel(), ns3::GlobalRouteManagerImpl::~GlobalRouteManagerImpl(), ns3::GlobalRouteManagerLSDB::~GlobalRouteManagerLSDB(), ns3::GlobalRouter::~GlobalRouter(), ns3::GlobalRoutingLinkRecord::~GlobalRoutingLinkRecord(), ns3::GlobalRoutingLSA::~GlobalRoutingLSA(), ns3::Ipv4AddressGeneratorImpl::~Ipv4AddressGeneratorImpl(), ns3::Ipv4Interface::~Ipv4Interface(), ns3::ListErrorModel::~ListErrorModel(), ns3::MacRxMiddle::~MacRxMiddle(), ns3::OmnetDataOutput::~OmnetDataOutput(), ns3::OnOffApplication::~OnOffApplication(), ns3::PacketCounterCalculator::~PacketCounterCalculator(), ns3::PacketSizeMinMaxAvgTotalCalculator::~PacketSizeMinMaxAvgTotalCalculator(), ns3::PacketSocket::~PacketSocket(), ns3::Queue::~Queue(), ns3::RateErrorModel::~RateErrorModel(), ns3::RealtimeSimulatorImpl::~RealtimeSimulatorImpl(), ns3::Socket::~Socket(), ns3::SPFVertex::~SPFVertex(), ns3::SqliteDataOutput::~SqliteDataOutput(), ns3::SystemCondition::~SystemCondition(), ns3::SystemConditionPrivate::~SystemConditionPrivate(), ns3::SystemMutex::~SystemMutex(), ns3::SystemMutexPrivate::~SystemMutexPrivate(), ns3::SystemThread::~SystemThread(), ns3::TcpL4Protocol::~TcpL4Protocol(), ns3::TcpSocket::~TcpSocket(), ns3::UdpEchoClient::~UdpEchoClient(), ns3::UdpEchoServer::~UdpEchoServer(), ns3::UdpL4Protocol::~UdpL4Protocol(), ns3::UdpSocket::~UdpSocket(), ns3::UdpSocketImpl::~UdpSocketImpl(), and ns3::WallClockSynchronizer::~WallClockSynchronizer().
#define NS_LOG_INFO | ( | msg | ) | NS_LOG(ns3::LOG_INFO, msg) |
msg | the message to log |
Use NS_LOG to output a message of level LOG_INFO.
Definition at line 234 of file log.h.
Referenced by ns3::EmuNetDevice::CreateSocket(), ns3::WallClockSynchronizer::DoSetOrigin(), ns3::WallClockSynchronizer::DoSynchronize(), ns3::SqliteDataOutput::Exec(), ns3::DcfManager::GetAccessGrantStart(), ns3::YansErrorRateModel::GetBpskBer(), ns3::YansErrorRateModel::GetQamBer(), ns3::UdpEchoServer::HandleRead(), ns3::UdpEchoClient::HandleRead(), ns3::PacketSink::HandleRead(), ns3::CsmaChannel::PropagationCompleteEvent(), ns3::EmuNetDevice::ReadThread(), ns3::UdpL4Protocol::Receive(), ns3::TcpL4Protocol::Receive(), ns3::UdpEchoClient::Send(), ns3::CsmaChannel::TransmitEnd(), ns3::CsmaChannel::TransmitStart(), and ns3::WallClockSynchronizer::WallClockSynchronizer().
#define NS_LOG_LOGIC | ( | msg | ) | NS_LOG(ns3::LOG_LOGIC, msg) |
msg | the message to log |
Use NS_LOG to output a message of level LOG_LOGIC
Definition at line 294 of file log.h.
Referenced by ns3::NscTcpSocketImpl::Accept(), ns3::Ipv4AddressGeneratorImpl::AddAllocated(), ns3::CsmaNetDevice::AddHeader(), ns3::NscTcpL4Protocol::AddInterface(), ns3::GlobalRouter::AnotherRouterOnLink(), ns3::TcpSocketImpl::Bind(), ns3::NscTcpSocketImpl::Bind(), ns3::GlobalRouteManagerImpl::BuildGlobalRoutingDatabase(), ns3::GlobalRouter::BuildNetworkLSAs(), ns3::GlobalRoutingLSA::ClearLinkRecords(), ns3::GlobalRouter::ClearLSAs(), ns3::TcpSocketImpl::Close(), ns3::NscTcpSocketImpl::Close(), ns3::TcpSocketImpl::CommonNewAck(), ns3::NscTcpSocketImpl::CompleteFork(), ns3::NscTcpSocketImpl::ConnectionSucceeded(), ns3::PacketMetadata::Create(), ns3::GlobalRouteManagerImpl::DeleteGlobalRoutes(), ns3::Queue::Dequeue(), ns3::Ipv4Header::Deserialize(), ns3::PacketMetadata::Deserialize(), ns3::RealtimeSimulatorImpl::Destroy(), ns3::DefaultSimulatorImpl::Destroy(), ns3::TcpSocketImpl::Destroy(), ns3::GlobalRouter::DiscoverLSAs(), ns3::DropTailQueue::DoDequeue(), ns3::DropTailQueue::DoEnqueue(), ns3::Ipv4L3Protocol::DoForward(), ns3::DropTailQueue::DoPeek(), ns3::UdpSocketImpl::DoSendTo(), ns3::Queue::Drop(), ns3::TcpSocketImpl::DupAck(), ns3::Queue::Enqueue(), ns3::GlobalRouter::FindDesignatedRouterForLink(), ns3::GlobalRouter::FindIfIndexForDevice(), ns3::ArpCache::Flush(), ns3::BridgeNetDevice::ForwardBroadcast(), ns3::olsr::AgentImpl::ForwardDefault(), ns3::Ipv4L3Protocol::Forwarding(), ns3::BridgeNetDevice::ForwardUnicast(), ns3::PacketSocket::ForwardUp(), ns3::TcpSocketImpl::ForwardUp(), ns3::EmuNetDevice::ForwardUp(), ns3::Ipv4L3Protocol::GetIfIndexForDestination(), ns3::EmuNetDevice::GetMulticast(), ns3::CsmaNetDevice::GetMulticast(), ns3::Queue::GetNBytes(), ns3::Queue::GetNPackets(), ns3::Queue::GetTotalDroppedBytes(), ns3::Queue::GetTotalDroppedPackets(), ns3::Queue::GetTotalReceivedBytes(), ns3::Queue::GetTotalReceivedPackets(), ns3::UdpEchoServer::HandleRead(), ns3::ArpCache::HandleWaitReplyTimeout(), ns3::BridgeHelper::Install(), ns3::Queue::IsEmpty(), ns3::olsr::AgentImpl::LinkSensing(), ns3::Ipv4L3Protocol::Lookup(), ns3::Ipv4EndPointDemux::Lookup(), ns3::ArpL3Protocol::Lookup(), ns3::Ipv4GlobalRouting::LookupGlobal(), ns3::GlobalRouter::NetDeviceIsBridged(), ns3::TcpSocketImpl::NewAck(), ns3::TcpSocketImpl::NewRx(), ns3::NscTcpL4Protocol::NscTcpL4Protocol(), ns3::NscTcpSocketImpl::NscTcpSocketImpl(), ns3::Ipv4AddressHelper::NumAddressBits(), ns3::PcapWriter::Open(), ns3::PcapWriter::PcapWriter(), ns3::TcpSocketImpl::PersistTimeout(), ns3::olsr::AgentImpl::PopulateTwoHopNeighborSet(), ns3::TcpSocketImpl::ProcessAction(), ns3::GlobalRouter::ProcessBridgedBroadcastLink(), ns3::TcpSocketImpl::ProcessEvent(), ns3::olsr::AgentImpl::ProcessMid(), ns3::RealtimeSimulatorImpl::ProcessOneEvent(), ns3::DefaultSimulatorImpl::ProcessOneEvent(), ns3::TcpSocketImpl::ProcessPacketAction(), ns3::GlobalRouter::ProcessPointToPointLink(), ns3::GlobalRouter::ProcessSingleBroadcastLink(), ns3::CsmaChannel::PropagationCompleteEvent(), ns3::NscTcpSocketImpl::ReadPendingData(), ns3::EmuNetDevice::ReadThread(), ns3::TcpL4Protocol::Receive(), ns3::Ipv4L3Protocol::Receive(), ns3::ArpL3Protocol::Receive(), ns3::NqstaWifiMac::Receive(), ns3::CsmaNetDevice::Receive(), ns3::TcpSocketImpl::Recv(), ns3::PacketMetadata::Recycle(), ns3::Ipv4GlobalRouting::RemoveRoute(), ns3::Ipv4StaticRouting::RequestIfIndex(), ns3::Ipv4GlobalRouting::RequestIfIndex(), ns3::Ipv4StaticRouting::RequestRoute(), ns3::Ipv4GlobalRouting::RequestRoute(), ns3::TcpSocketImpl::Retransmit(), ns3::TcpSocketImpl::ReTxTimeout(), ns3::olsr::AgentImpl::RoutingTableComputation(), ns3::RealtimeSimulatorImpl::RunOneEvent(), ns3::OnOffApplication::ScheduleNextTx(), ns3::OnOffApplication::ScheduleStartEvent(), ns3::OnOffApplication::ScheduleStopEvent(), ns3::GlobalRouteManagerImpl::SelectRouterNodes(), ns3::UdpL4Protocol::Send(), ns3::Ipv4L3Protocol::Send(), ns3::Ipv4Interface::Send(), ns3::PointToPointNetDevice::Send(), ns3::ArpL3Protocol::SendArpReply(), ns3::ArpL3Protocol::SendArpRequest(), ns3::TcpSocketImpl::SendEmptyPacket(), ns3::EmuNetDevice::SendFrom(), ns3::CsmaNetDevice::SendFrom(), ns3::TcpL4Protocol::SendPacket(), ns3::OnOffApplication::SendPacket(), ns3::TcpSocketImpl::SendPendingData(), ns3::NscTcpSocketImpl::SendPendingData(), ns3::Ipv4L3Protocol::SendRealOut(), ns3::PacketSocket::SendTo(), ns3::ArpIpv4Interface::SendTo(), ns3::Ipv4Header::Serialize(), ns3::PacketMetadata::Serialize(), ns3::Ipv4AddressHelper::SetBase(), ns3::CsmaNetDevice::SetEncapsulationMode(), ns3::PointToPointNetDevice::SetFrameSize(), ns3::CsmaNetDevice::SetFrameSize(), ns3::PointToPointNetDevice::SetMtu(), ns3::CsmaNetDevice::SetMtu(), ns3::GlobalRouteManagerImpl::SPFCalculate(), ns3::GlobalRouteManagerImpl::SPFGetNextLink(), ns3::GlobalRouteManagerImpl::SPFIntraAddRouter(), ns3::GlobalRouteManagerImpl::SPFIntraAddStub(), ns3::GlobalRouteManagerImpl::SPFIntraAddTransit(), ns3::GlobalRouteManagerImpl::SPFNext(), ns3::GlobalRouteManagerImpl::SPFNexthopCalculation(), ns3::GlobalRouteManagerImpl::SPFProcessStubs(), ns3::SPFVertex::SPFVertex(), ns3::EmuNetDevice::StartDevice(), ns3::ArpCache::StartWaitReplyTimer(), ns3::Simulator::Stop(), ns3::EmuNetDevice::StopDevice(), ns3::TcpL4Protocol::TcpL4Protocol(), ns3::TcpSocketImpl::TcpSocketImpl(), ns3::CsmaNetDevice::TransmitAbort(), ns3::CsmaNetDevice::TransmitCompleteEvent(), ns3::CsmaChannel::TransmitEnd(), ns3::PointToPointNetDevice::TransmitStart(), ns3::PointToPointChannel::TransmitStart(), ns3::CsmaNetDevice::TransmitStart(), ns3::CsmaChannel::TransmitStart(), ns3::TcpSocketImpl::Window(), ns3::GlobalRouteManagerLSDB::~GlobalRouteManagerLSDB(), and ns3::PcapWriter::~PcapWriter().
#define NS_LOG_UNCOND | ( | msg | ) |
#define NS_LOG_WARN | ( | msg | ) | NS_LOG(ns3::LOG_WARN, msg) |
msg | the message to log |
Use NS_LOG to output a message of level LOG_WARN.
Definition at line 216 of file log.h.
Referenced by ns3::Ipv4EndPointDemux::Allocate(), ns3::EthernetTrailer::CalcFcs(), ns3::EthernetTrailer::CheckFcs(), ns3::CsmaChannel::Detach(), ns3::Ipv4L3Protocol::DoForward(), ns3::PacketSocket::ForwardUp(), ns3::UdpSocketImpl::ForwardUp(), ns3::olsr::AgentImpl::LinkTupleUpdated(), ns3::NscTcpSocketImpl::ReadPendingData(), ns3::Node::RegisterProtocolHandler(), ns3::olsr::AgentImpl::SendHello(), ns3::Ipv4L3Protocol::SendRealOut(), ns3::PointToPointNetDevice::SetMtu(), ns3::CsmaNetDevice::SetMtu(), ns3::OnOffApplication::StopApplication(), ns3::CsmaNetDevice::TransmitStart(), and ns3::CsmaChannel::TransmitStart().
void ns3::LogComponentDisable | ( | char const * | name, | |
enum LogLevel | level | |||
) |
name | a log component name | |
level | a logging level |
Disable the logging output associated with that log component. The logging output can be later re-enabled with a call to ns3::LogComponentEnable.
void ns3::LogComponentDisableAll | ( | enum LogLevel | level | ) |
level | a logging level |
Disable all logging for all components.
void ns3::LogComponentEnable | ( | char const * | name, | |
enum LogLevel | level | |||
) |
name | a log component name | |
level | a logging level |
Enable the logging output associated with that log component. The logging output can be later disabled with a call to ns3::LogComponentDisable.
Same as running your program with the NS_LOG environment variable set as NS_LOG='name=level'
void ns3::LogComponentEnableAll | ( | enum LogLevel | level | ) |
level | a logging level |
Enable the logging output for all registered log components.
Same as running your program with the NS_LOG environment variable set as NS_LOG='*=level'
void ns3::LogComponentPrintList | ( | void | ) |
Print the list of logging messages available. Same as running your program with the NS_LOG environment variable set as NS_LOG=print-list
Referenced by ns3::PrintList::PrintList().