[ndnSIM] Problem about logging

Weihong Yang(杨伟宏) zhsupperviol at gmail.com
Wed Mar 30 22:12:18 PDT 2016

Dear ALL,

I was trying to enable NFD logging in my forwarding strategy, and I had
followed the steps in the NFD developer guide:
1. include core/logger.hpp header file
2. declare logging module using NFD_LOG_INIT("MyStrategy");
3. use NFD_LOG_DEBUG("DEBUG message"); in my source code.
 And I ran the simulation scenarios using the following command:
NS_LOG=nfd.MyStrategy ./waf --run=Mystrategy --vis

However, there is no output of logging information. I was wondering where I
went wrong.
 Thanks in advance.

Weihong Yang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20160331/a89b7209/attachment.html>

More information about the ndnSIM mailing list