A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ns3::LogComponent Class Reference

#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

Detailed Description

Definition at line 374 of file log.h.

Constructor & Destructor Documentation

ns3::LogComponent::LogComponent ( char const *  name)

Definition at line 88 of file log.cc.

References EnvVarCheck(), ns3::GetComponentList(), and NS_FATAL_ERROR.

+ Here is the call graph for this function:

Member Function Documentation

void ns3::LogComponent::Disable ( enum LogLevel  level)

Definition at line 248 of file log.cc.

References m_levels.

void ns3::LogComponent::Enable ( enum LogLevel  level)

Definition at line 242 of file log.cc.

References m_levels.

Referenced by EnvVarCheck().

+ Here is the caller graph for this function:

void ns3::LogComponent::EnvVarCheck ( char const *  name)
bool ns3::LogComponent::IsEnabled ( enum LogLevel  level) const

Definition at line 229 of file log.cc.

References m_levels.

bool ns3::LogComponent::IsNoneEnabled ( void  ) const

Definition at line 236 of file log.cc.

References m_levels.

char const * ns3::LogComponent::Name ( void  ) const

Definition at line 254 of file log.cc.

References m_name.

Member Data Documentation

int32_t ns3::LogComponent::m_levels
private

Definition at line 384 of file log.h.

Referenced by Disable(), Enable(), IsEnabled(), and IsNoneEnabled().

char const* ns3::LogComponent::m_name
private

Definition at line 385 of file log.h.

Referenced by Name().


The documentation for this class was generated from the following files: