what are the two static methods for obtaining a logger object?
Answer Posted / Anurag Khare
In Apache Log4j, you can obtain a Logger instance using either of these two static methods: (1) Logger.getLogger(String name): Returns the logger associated with the specified name; and (2) Logger.getRootLogger(): Returns the root logger, which is the top-level logger in your application.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category