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>
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. | |
Example program that demonstrates how to replace the time printer.
Definition in file sample-log-time-format.cc.