Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] Console output from dissectors

From: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Date: Wed, 29 Jun 2016 11:44:45 +0200
Hi,

No, the console output is strictly for debug purposes only, either via printf of g_log. These printf() statements are all wrapped in DEBUG for conditional compilation, so should not result in code when compiled for production. 

Thanks,
Jaap


> On 29 Jun 2016, at 09:47, Dario Lombardo <dario.lombardo.ml@xxxxxxxxx> wrote:
> 
> Hello
> Running checkAPI against the dissectors, I get warnings like
> 
> Warning: Found termoutput APIs in packet-wtp.c: printf
> 
> Are the dissector expected to produce console output? If yes, which function should they use? g_log()?
> Thanks
> Dario.