This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
    Bookmark Topic Watch Topic
  • New Topic

LOG4J

 
sihani rani
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Report post to moderator
I am using log4j to my project for logging datas.

the following code is used to create Logger instance.



My question is why should we declare Logger as static?


thakns in advance.
 
Roberto Perillo
Bartender
Posts: 2271
3
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Report post to moderator
Let's continue this discussion here.
 
    Bookmark Topic Watch Topic
  • New Topic