Re: [xwt-users] Opinions on logging keywords

Tupshin Harper <[email protected]> Tue, 23 Dec 2003 17:35:43 -0800
Newsgroups gmane.comp.java.xwt.users
Message-ID <[email protected]>
Corey Jewett wrote:

> I modeled after Avalon LogKit, which also had fatal. Fatal has been 
> removed as widgets should not be doing anything fatal, nor ever 
> encountering it.
>
> What Charlie leaves out is that these names have intrinisic meanings, 
> such that debug < info < warn < error. Furthermore the logging system 
> has a threshold configuration system that allows you to declare 'only 
> log WARN and above'. The keyword print does not logically fit into 
> this system.
>
> Finally, I would like to depart from print as it is a relic of the 
> prior, less flexible, logging system. I would like to encourage a 
> rapid conversion to the new system as it should be quite beneficial 
> for debugging.
>
> Corey
>
Agreed that widgets shouldn't use (nor have access to) fatal, but is 
this logging system also used by the core? If so, the core should 
probably have a fatal. 100% agreed with everything else.

-Tupshin