KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Should logger be declared static or not? Usually I've seen two types of declaration for a logger : protected Log log = new Log4JLogger(aClass.class); or private static Log log = new Log4JLogger(aClass.class); Which one should be used? what are the pro's and con's of both?
Tags (comma-separated)
Save Edits
Cancel