logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Garg, Nidhi" <nidhi.g...@barco.com>
Subject RE: How to extend Logger Class
Date Wed, 04 Feb 2004 04:26:38 GMT
Hello
I want to use Logger class using wraper class so that i can call it in my
project...If i use the wrapper class around it then i ve to redefine its all
static function..Beside this after that i ve to overwrite the Baic log
functions like INFO,ERROR which are in Category class ...So please suggest
me the way how cud i imlement the Logger class using my own wrapper class..
Thanx 
Nidhi Garg
Software Development Engineer (R&D)
Barco | Control Rooms
Tel +91(0) (120) 242 1651(10 Lines) Ext. 245
Fax +91(0) (120) 242 1691 

-----Original Message-----
From: Tom Drake [mailto:Tom.Drake@tavant.com]
Sent: Wednesday, February 04, 2004 1:10 AM
To: 'Log4J Developers List'
Subject: RE: How to extend Logger Class


I would ask you why you want to extend the Logger class. Log4J provides a
number of ways of modifying default behaviors. You may find that you can
meet your needs without extending logger.

-----Original Message-----
From: Paul Glezen [mailto:pglezen@us.ibm.com] 
Sent: Tuesday, February 03, 2004 9:18 AM
To: Log4J Developers List
Subject: Re: How to extend Logger Class



Hi Nidhi,

The log4j distribution includes a "deepExtension.html" document in the docs
directory. It is a bit out of date (my fault), but it includes some tips for
extending various portions of log4j.

- Paul

Paul Glezen
Consulting IT Specialist
IBM Software Services for WebSphere
818 539 3321
AIM: pfglezenibm
YIM: pfglezen
ICQ: 179406599



Please respond to "Log4J Developers List" <log4j-dev@logging.apache.org> 


To: log4j-dev@logging.apache.org
cc: 
Subject: How to extend Logger Class





Hi 
I am using Logger class in my project..BUt All the functions are of type
static type and we cant override the static functions in subclasss..so how
can i extend Logger class.Is there anyway..Please suggest me

Thanx in advance

Nidhi Garg
Software Development Engineer (R&D)
Barco | Control Rooms
Tel +91(0) (120) 242 1651(10 Lines) Ext. 245
Fax +91(0) (120) 242 1691 





Mime
View raw message