A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
sample-log-time-format.cc File Reference

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

#include "ns3/command-line.h"
#include "ns3/log.h"
#include "ns3/nstime.h"
#include "ns3/random-variable-stream.h"
#include "ns3/simulator.h"
#include <map>
+ Include dependency graph for sample-log-time-format.cc:

Go to the source code of this file.

Namespaces

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

Functions

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

Detailed Description

Example program that demonstrates how to replace the time printer.

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