On Mon, 25 Jun 2001, Hansen, Richard wrote:
| Maybe it is just misnamed? I have not used Category.assert(), but it seems
| like it could be useful. Of course frameworks are often littered with
| "useful" but rarely used code.
I agree. I don't use it now, but it seems cool. But it's badly misname
Hi Ceki!
I agree! Deprecate the assert() method and use Log4j only as a logging
library.
Regards
Johan
-Original Message-
From: Ceki Gülcü [mailto:[EMAIL PROTECTED]]
Sent: den 25 juni 2001 18:07
To: LOG4J Users Mailing List
Subject: Re: Category.assert() disappointing
Hello,
Log4j
ides in SDK 1.4 Java is adding a language assertion mechanism.
>
> Rick Hansen
>
> > -Original Message-
> > From: Benjamin Russell Stocum [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, June 25, 2001 1:43 PM
> > To: LOG4J Users Mailing List
> > Subject: Re: Category.assert
Title: RE: Category.assert() disappointing
Of course, JUnit is a unit testing framework, not a logging framework.
:-o
> -Original Message-
> From: Benjamin Russell Stocum [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 25, 2001 1:43 PM
> To: LOG4J Users Mailing List
&
1.4 Java is adding a language assertion mechanism.
Rick Hansen
> -Original Message-
> From: Benjamin Russell Stocum [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 25, 2001 1:43 PM
> To: LOG4J Users Mailing List
> Subject: Re: Category.assert() disappointing
>
>
>
Has anyone looked at JUnit? This is where you want to get all your asserts
from :)
Duplication is not necessary if its already done, and done right at that I
might add.
-Ben Stocum
begin:vcard
n:Stocum;Ben
tel;home:442-1316
tel;work:383-3510
x-mozilla-html:FALSE
url:http://www.paychex.com
org
nday, June 25, 2001 11:07 AM
> To: LOG4J Users Mailing List
> Subject: Re: Category.assert() disappointing
>
>
> Hello,
>
> Log4j is a logging library. As such, it does not have the
> mandate to halt the hosting application. What you are
> requesting goes against t
lt;[EMAIL PROTECTED]>
cc:
06/25/2001 Subject: Re: Category.assert()
disappointing
t: Monday, June 25, 2001 9:07 AM
Subject: Re: Category.assert() disappointing
Hello,
Log4j is a logging library. As such, it does not have the mandate to halt the hosting
application. What you are requesting goes
against this basic principle.
The Category.assert() method was added over a
rs Mailing List
Subject: Re: Category.assert() disappointing
Hello,
Log4j is a logging library. As such, it does not have the mandate to halt
the hosting application. What you are requesting goes against this basic
principle.
The Category.assert() method was added over a year ago. At that time,
aningful purpose.
>
>>
>> Cheers
>>
>> Simon Liu
>
>ZC
>
>
>>> -Original Message-
>>> From:Zart Colwing [SMTP:[EMAIL PROTECTED]]
>>> Sent:Thursday, June 21, 2001 10:51 PM
>>> To:LOG4J Users Mailing Li
e the existing
Category.assert function as it stand right now, serve no meaningful purpose.
>
> Cheers
>
> Simon Liu
ZC
>> -Original Message-
>> From:Zart Colwing [SMTP:[EMAIL PROTECTED]]
>> Sent:Thursday, June 21, 2001 10:51 PM
>> To:LOG4J
AIL PROTECTED]]
> Sent: Thursday, June 21, 2001 10:51 PM
> To: LOG4J Users Mailing List
> Subject: Re: Category.assert() disappointing
>
> > Is a logging framework where you want to implement an assertion
> mechanism?
>
> Why not ? There is no assert mecha
Marckx [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 21, 2001 8:57 AM
> To: 'LOG4J Users Mailing List'
> Subject: RE: Category.assert() disappointing
>
>
>
> But shouldn't it in fact be FATAL and quit?
> I think Zart has a point... At least the log
ly an assert in that sense.
Regards
John Volkar
-Original Message-
From: Hansen, Richard [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 21, 2001 10:05 AM
To: 'LOG4J Users Mailing List'
Subject: RE: Category.assert() disappointing
Is a logging framework where you want to impleme
Is a logging framework where you want to implement an assertion mechanism?
-Original Message-
From: Gino Marckx [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 21, 2001 8:57 AM
To: 'LOG4J Users Mailing List'
Subject: RE: Category.assert() disappointing
But shouldn'
Title: RE: Category.assert() disappointing
But shouldn't it in fact be FATAL and quit?
I think Zart has a point... At least the logging level should be FATAL...
Gino.
>-Original Message-
>From: Hansen, Richard [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, June 21, 20
: Thursday, June 21, 2001 8:16 AM
> To: LOG4J Users Mailing List
> Subject: Category.assert() disappointing
>
>
> I'm disappointed by the Category.assert() function.
>
> It was my belief that when an assert breaks that means that
> the conditions
> for the safe co
I'm disappointed by the Category.assert() function.
It was my belief that when an assert breaks that means that the conditions
for the safe continuation of the program execution are not meet and it is
better to halt the program right away before running into big troubles.
Category.assert() obvio
19 matches
Mail list logo