LogRecord setLevel() method in Java with Examples
The setLevel() method of java.util.logging.LogRecord is used to set the level of logging message, for example Level.INFO for this LogRecord Object. Syntax: public void setLevel(Level level) Parameters: This method accepts level which is the logging message level. Return: This method returns nothing.