On 1/18/02 2:06 AM, "Kelvin Tan" <[EMAIL PROTECTED]> wrote:
> I refer to the CVS commit message > http://www.mail-archive.com/[email protected]/msg04658.html from > version 1.6 to v1.7 (2001/12/19) of BaseObject.java. > > I understand from the javadocs that this is a "convenience method" to access > the log4j category. However, I've had to comment out this method and build > because one of my business objects contained the field "category" (and the > corresponding getter method generated in BaseBusinessObject was getCategory). > > I don't imagine that I'll be the only person to encounter this problem, since > "category" is a reasonably generic term, commonly used in business objects. > Just wondering if it's prudent to call the method getCategory as opposed to > something more logging-specific and unlikely to create conflicts, like > getLogCategory or something. > > What do you think? These will be changed to logger to reflect the changes in log4j to be more like the Sun logging API. > > Regards, > Kelvin Tan > > Relevanz Pte Ltd > http://www.relevanz.com > > 180B Bencoolen St. > The Bencoolen, #04-01 > S(189648) > > Tel: 238 6229 > Fax: 337 4417 > > -- jvz. Jason van Zyl http://tambora.zenplex.org http://jakarta.apache.org/turbine http://jakarta.apache.org/velocity http://jakarta.apache.org/alexandria http://jakarta.apache.org/commons -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
