wn-upf / Komondor

Komondor Wireless Networks Simulator
GNU General Public License v3.0
65 stars 19 forks source link

Node logs files with macro #121

Closed sergiobarra closed 5 years ago

sergiobarra commented 5 years ago

The "if" condition for saving node logs in files was replaced by a macro in commit SHA: 34b0e69c17b8effd3ad670f1ee04ba709f098876. Efficiency was improved but hardcoding the flag in the code for activating the log saving was not convenient.

Therefore, we decide to keep the per-console flag by modifying the macro to accept the flag as an input.