Skip to content

Tag Archives: java.util.logging package

The getLoggerName() method of java.util.logging.LogRecord is used to get the logger name of source.This method returns source logger name if present else returns null. Syntax:… Read More
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… Read More
The getLocalizedName() method of java.util.logging.Level is used to get the localized string name of the Level.This method returns localized name, for the current default locale.… Read More
The getMessage() method of java.util.logging.LogRecord is used to get the actual log message, before localization or formatting from this logRecord.This message may be null, which… Read More
The getLevel() method of java.util.logging.LogRecord is used to get the logging message level of this current LogRecord object, for example Level.Info. Syntax: public Level getLevel()… Read More
The parse() method of java.util.logging.Level is used to parse a level name string into a Level. The name of the logging level must be a… Read More
The toString() method of java.util.logging.Level is used to get the string value which represents this Level.This method returns a string representation of this Level. Syntax:… Read More
The getName() method of java.util.logging.Level is used to get the non-localized string name of the Level. This method return name of this method. Syntax: public… Read More
The hashCode() method of java.util.logging.Level is used to get hashcode of the level object. The hashcode is always the same if the object doesn’t change.… Read More
The equals() method of java.util.logging.Level is used to check if this level object is equals to passed object or not.If both objects are equals then… Read More
The intValue() method of java.util.logging.Level is used to get the integer value for this level object. Every level has an integer value associated with it.… Read More
The getResourceBundleName() method of java.util.logging.Level is used to get the localization resource bundle name of this level object. If localization bundle is present then this… Read More

Start Your Coding Journey Now!