#include <log.h>
Collaboration diagram for ns3::LogComponent:Public Member Functions | |
| LogComponent (const std::string &name) | |
| void | Disable (enum LogLevel level) |
| void | Enable (enum LogLevel level) |
| void | EnvVarCheck (const std::string &name) |
| std::string | GetLevelLabel (const enum LogLevel level) const |
| bool | IsEnabled (enum LogLevel level) const |
| bool | IsNoneEnabled (void) const |
| char const * | Name (void) const |
Private Attributes | |
| int32_t | m_levels |
| std::string | m_name |
| ns3::LogComponent::LogComponent | ( | const std::string & | name | ) |
Definition at line 87 of file log.cc.
References EnvVarCheck(), ns3::GetComponentList(), and NS_FATAL_ERROR.
Here is the call graph for this function:| void ns3::LogComponent::Disable | ( | enum LogLevel | level | ) |
| void ns3::LogComponent::Enable | ( | enum LogLevel | level | ) |
Definition at line 258 of file log.cc.
References m_levels.
Referenced by EnvVarCheck().
Here is the caller graph for this function:| void ns3::LogComponent::EnvVarCheck | ( | const std::string & | name | ) |
Definition at line 106 of file log.cc.
References Enable(), ns3::LOG_DEBUG, ns3::LOG_ERROR, ns3::LOG_FUNCTION, ns3::LOG_INFO, ns3::LOG_LEVEL_ALL, ns3::LOG_LEVEL_DEBUG, ns3::LOG_LEVEL_ERROR, ns3::LOG_LEVEL_FUNCTION, ns3::LOG_LEVEL_INFO, ns3::LOG_LEVEL_LOGIC, ns3::LOG_LEVEL_WARN, ns3::LOG_LOGIC, ns3::LOG_PREFIX_ALL, ns3::LOG_PREFIX_FUNC, ns3::LOG_PREFIX_LEVEL, ns3::LOG_PREFIX_NODE, ns3::LOG_PREFIX_TIME, and ns3::LOG_WARN.
Referenced by LogComponent().
Here is the call graph for this function:
Here is the caller graph for this function:| std::string ns3::LogComponent::GetLevelLabel | ( | const enum LogLevel | level | ) | const |
Definition at line 276 of file log.cc.
References ns3::LOG_DEBUG, ns3::LOG_ERROR, ns3::LOG_FUNCTION, ns3::LOG_INFO, ns3::LOG_LOGIC, and ns3::LOG_WARN.
| bool ns3::LogComponent::IsEnabled | ( | enum LogLevel | level | ) | const |
| bool ns3::LogComponent::IsNoneEnabled | ( | void | ) | const |
| char const * ns3::LogComponent::Name | ( | void | ) | const |
|
private |
Definition at line 430 of file log.h.
Referenced by Disable(), Enable(), IsEnabled(), and IsNoneEnabled().
|
private |