[Dcmlib] DebugMacro vs WarningMacro

Mathieu Malaterre mathieu.malaterre at kitware.com
Wed Oct 26 16:04:27 CEST 2005


Jean-Pierre Roux wrote:
> Hi, everybody .
> 
> Some times ago I read (well. ..  I saw) some commit explaining we don't 
> have to mixture DebugMacro and WarningMacro.
> 
> I don't remember what was the purpose, but I'm not sure messages such as :
> "Last system error was: Success".
> was expected.
> 
> Anyway, have we got really 'Warning' messages to ouput to the 'normal' 
> user?
> Almost all I can find are informations we give the developper, to inform 
> him how the process is running.
> 
> Any opinion?

BTW,

Maybe I misunderstood your question, but in fact are you looking for 
Debug::DebugOn() vs Debug::WarningOn() mechanism ?

I don't see no objection to have two flags...we would simply need a 
static bool WarningFlag...

Mathieu



More information about the Dcmlib mailing list