Win a copy of Design for the Mind this week in the Design 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