The getLogManager() method of java.util.logging.LogManager is used to get the global LogManager object
public static LogManager getLogManager()
Parameters: This method does not accepts any parameter.
Return Value: This method returns the global LogManager object.
Below programs illustrate getLogManager() method:
Global LogManager object: java.util.logging.LogManager@1540e19d
Attention reader! Don’t stop learning now. Get hold of all the important Java Foundation and Collections concepts with the Fundamentals of Java and Java Collections Course at a student-friendly price and become industry ready.