discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Error handler


From: Josh Blum
Subject: Re: [Discuss-gnuradio] Error handler
Date: Tue, 26 Apr 2011 15:06:45 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110223 Lightning/1.0b2 Thunderbird/3.1.8

>> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]