#include <log.h>
Public Member Functions | |
LogComponent (char const *name) | |
void | Disable (enum LogLevel level) |
void | Enable (enum LogLevel level) |
void | EnvVarCheck (char const *name) |
bool | IsEnabled (enum LogLevel level) const |
bool | IsNoneEnabled (void) const |
char const * | Name (void) const |
Private Attributes | |
int32_t | m_levels |
char const * | m_name |
ns3::LogComponent::LogComponent | ( | char const * | name | ) |
Definition at line 88 of file log.cc.
References EnvVarCheck(), ns3::GetComponentList(), and NS_FATAL_ERROR.
void ns3::LogComponent::Disable | ( | enum LogLevel | level | ) |
void ns3::LogComponent::Enable | ( | enum LogLevel | level | ) |
Definition at line 242 of file log.cc.
References m_levels.
Referenced by EnvVarCheck().
void ns3::LogComponent::EnvVarCheck | ( | char const * | name | ) |
Definition at line 107 of file log.cc.
References Enable(), ns3::LOG_ALL, 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_FUNC, ns3::LOG_PREFIX_NODE, ns3::LOG_PREFIX_TIME, and ns3::LOG_WARN.
Referenced by LogComponent().
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 384 of file log.h.
Referenced by Disable(), Enable(), IsEnabled(), and IsNoneEnabled().
|
private |