A Discrete-Event Network Simulator
qkdnetsim_etsi_014 @ (+)
API
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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"
+ Include dependency graph for sample-log-time-format.cc:

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 TimePrinter equivalent (was called LogTimePrinter). 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.