>> Hi tom, >> >> Thanks for the info. >> For future enhancements one can consider creating a global object that >> provides functions like gr_debug(), gr_error(), gr_warning() that are >> accessible by both blocks and applications. Similar to what is available in >> Qt. I guess the only advantage over fprintf's would be uniform management >> errors and debug messages that could provide controlled shut down in case of >> critical errors. >> >> Alex >> > > > Good ideas, thanks! > > Tom > >
It looks like boost has a logging facility. Its not officially part of boost yet. It seems to be all headers files, so you could probably pull it into gnuradio and start using it. http://boost-log.sourceforge.net/libs/log/doc/html/index.html http://sourceforge.net/projects/boost-log/files/boost-log-1.0.zip/download I'm looking into something of the like for UHD and boost is often the answer. -Josh _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio