A Discrete-Event Network Simulator
API
Namespaces | Functions
sample-log-time-format.cc File Reference

Example program that demonstrates how to replace the time printer. More...

#include "ns3/simulator.h"
#include "ns3/nstime.h"
#include "ns3/command-line.h"
#include "ns3/log.h"
#include "ns3/random-variable-stream.h"

Go to the source code of this file.

Namespaces

 anonymous_namespace{sample-log-time-format.cc}
 

Functions

void anonymous_namespace{sample-log-time-format.cc}::ReplacementTimePrinter (std::ostream &os)
 Pre-ns-3.26 LogTimePrinter equivalent. More...
 
void anonymous_namespace{sample-log-time-format.cc}::ReplaceTimePrinter (void)
 Set ReplacementTimePrinter as the time printer for log messages. More...
 

Detailed Description

Example program that demonstrates how to replace the time printer.

Definition in file sample-log-time-format.cc.