[Ns-developers] [ns3] logging proposal

Mathieu Lacage mathieu.lacage at sophia.inria.fr
Mon Apr 14 12:22:39 PDT 2008


hi,

The following tree: http://code.nsnam.org/mathieu/ns-3-log does a few
changes to the ns-3-logging code:
  - adds support to trace prefix time to each log line:
NS_LOG='Component=prefix_time|param' will output the content of
NS_LOG_PARAMS with a time prefix.
  - add documentation to each macro
  - remove NS_LOG_PARAMS_BEGIN/END

I did not merge NS_LOG_FUNCTION with NS_LOG_PARAMS because it occured to
me that NS_LOG_PARAMS (); is not a valid macro call so, all
NS_LOG_FUNCTION calls need at least a single argument.

May I merge in ns-3-dev ?

regards,
Mathieu



More information about the Ns-developers mailing list