ns3::LogComponent and related implementations. More...
#include "log.h"#include <list>#include <utility>#include <iostream>#include "assert.h"#include <stdexcept>#include "ns3/core-config.h"#include "fatal-error.h"#include <cstring>#include <cstdlib>Go to the source code of this file.
| Classes | |
| class | ns3::PrintList | 
| Handler for print-listtoken in NS_LOG to print the list of log components.  More... | |
| Namespaces | |
| ns3 | |
| Every class exported by the ns3 library is enclosed in the ns3 namespace. | |
| Functions | |
| static void | ns3::CheckEnvironmentVariables (void) | 
| Parse the NS_LOGenvironment variable.  More... | |
| static bool | ns3::ComponentExists (std::string componentName) | 
| Check if a log component exists.  More... | |
| LogComponent & | ns3::GetLogComponent (const std::string name) | 
| Get the LogComponent registered with the given name.  More... | |
| void | ns3::LogComponentDisable (char const *name, enum LogLevel level) | 
| Disable the logging output associated with that log component.  More... | |
| void | ns3::LogComponentDisableAll (enum LogLevel level) | 
| Disable all logging for all components.  More... | |
| void | ns3::LogComponentEnable (char const *name, enum LogLevel level) | 
| Enable the logging output associated with that log component.  More... | |
| void | ns3::LogComponentEnableAll (enum LogLevel level) | 
| Enable the logging output for all registered log components.  More... | |
| void | ns3::LogComponentPrintList (void) | 
| Print the list of logging messages available.  More... | |
| LogNodePrinter | ns3::LogGetNodePrinter (void) | 
| Get the LogNodePrinter function currently in use.  More... | |
| LogTimePrinter | ns3::LogGetTimePrinter (void) | 
| Get the LogTimePrinter function currently in use.  More... | |
| void | ns3::LogSetNodePrinter (LogNodePrinter np) | 
| Set the LogNodePrinter function to be used to prepend log messages with the node id.  More... | |
| void | ns3::LogSetTimePrinter (LogTimePrinter lp) | 
| Set the LogTimePrinter function to be used to prepend log messages with the simulation time.  More... | |
| template<> | |
| ParameterLogger & | ns3::ParameterLogger::operator<<< std::string > (const std::string param) | 
| Specialization for strings.  More... | |
| Variables | |
| static LogNodePrinter | ns3::g_logNodePrinter = 0 | 
| The LogNodePrinter.  More... | |
| static LogTimePrinter | ns3::g_logTimePrinter = 0 | 
| The LogTimePrinter.  More... | |
| static PrintList | ns3::g_printList | 
| Invoke handler for print-listin NS_LOG environment variable.  More... | |
ns3::LogComponent and related implementations.
Definition in file log.cc.
 1.8.14
 1.8.14