Sunday, November 3, 2013

[Discuss-gnuradio] DEBUG Logger not logging from within block

Dear GNU Radio,

If I have a:
 GR_LOG_DEBUG(d_debug_logger, <some interesting string>);

in my c++ application, the program will write my string to std out in the following format:
       DEBUG: <some interesting string>
when executed, or if I step through with GDB.
----------
If, however, I have the following line in a GR Block private constructor:
       GR_LOG_DEBUG(d_debug_logger, <some interesting string>);

Nothing is printed to std out when running or using GDB. Is GNU Radio catching these log outputs, or is there another method for me to get information from within a block constructor/work() method?

--
    Sincerely,
Tommy Tracy II
        UVA

No comments:

Post a Comment