Mention what are the logging methods provided by logger class?

DWQA QuestionsCategory: QuestionsMention what are the logging methods provided by logger class?
Editor Staff asked 6 days ago

Mention what are the logging methods provided by logger class?

1 Answers
Editor Staff answered 6 days ago

Logger class provides a variety of methods to handle logging activities. To obtain a logger object it provides two static methods
Public static logger getRootLogger();
Public static logger getLogger(String name);