[mythtv] Question about debug level

Isaac Richards ijr at po.cwru.edu
Sun Dec 21 21:06:20 EST 2003


On Sunday 21 December 2003 05:41 pm, Andrew Mahone wrote:
> I'm finally getting back to work on filters after a longish break.
> Every time something goes wrong in one, I end up inserting debug code
> into filter manager.  It would be nice to leave it in there and switch
> it based on the debug level from the command line.  It looks like all I
> need to do is include mythcontext.h and test print_verbose_messages, is
> this correct?  I notice some other things in libmythtv include
> mythcontext.h, so I'm assuming that should be safe.

Yeah, or just use the VERBOSE macro that's already defined in mythcontext.h.

Isaac


More information about the mythtv-dev mailing list