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 1 month ago

Mention what are the logging methods provided by logger class?

1 Answers
Editor Staff answered 1 month 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);