Logger class is responsible for logging data related to simulation.
Usage
class SomeModule: public cSimpleModule, public LoggerBase {
void initialize() override {
initializeLogger(provider);
}
void handleMessage(cMessage* msg) override {
logPacket("a label for the packet", msg);
}
};
LoggerBase class integrate abilities to log simulation results into your components.
Definition LoggerBase.h:11