ns-3 Direct Code Execution
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
dce-syslog.cc File Reference
#include "dce-syslog.h"
#include "dce-stdio.h"
#include <ns3/log.h>
#include <ns3/node.h>
#include <ns3/simulator.h>
#include "dce-manager.h"
#include "process.h"
#include "utils.h"
#include <sstream>
+ Include dependency graph for dce-syslog.cc:

Go to the source code of this file.

Functions

void dce_closelog (void)
void dce_openlog (const char *ident, int logopt, int facility)
int dce_setlogmask (int maskpri)
void dce_syslog (int priority, const char *message,...)
void dce_vsyslog (int priority, const char *message, va_list args)
 NS_LOG_COMPONENT_DEFINE ("DceSyslog")

Function Documentation

void dce_closelog ( void  )

Definition at line 32 of file dce-syslog.cc.

References ns3::Current(), dce_fclose(), ns3::Thread::process, ns3::Process::syslog, and ns3::UtilsGetNodeId().

+ Here is the call graph for this function:

void dce_openlog ( const char *  ident,
int  logopt,
int  facility 
)

Definition at line 19 of file dce-syslog.cc.

References ns3::Current(), dce_fopen(), ns3::Process::pid, ns3::Thread::process, ns3::Process::syslog, and ns3::UtilsGetNodeId().

+ Here is the call graph for this function:

int dce_setlogmask ( int  maskpri)

Definition at line 42 of file dce-syslog.cc.

References ns3::Current(), and ns3::UtilsGetNodeId().

+ Here is the call graph for this function:

void dce_syslog ( int  priority,
const char *  message,
  ... 
)

Definition at line 50 of file dce-syslog.cc.

References ns3::Current(), dce_vsyslog(), and ns3::UtilsGetNodeId().

+ Here is the call graph for this function:

void dce_vsyslog ( int  priority,
const char *  message,
va_list  args 
)

Definition at line 62 of file dce-syslog.cc.

References ns3::Current(), ns3::Thread::process, ns3::Process::syslog, and ns3::UtilsGetNodeId().

Referenced by dce_syslog().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

NS_LOG_COMPONENT_DEFINE ( "DceSyslog"  )