Skip to content

Tag Archives: java.util.logging package

The setInstant() method of java.lang.reflect.LogRecord is used to set this instant that the event occurred this is helpful to record logging events instant. An arithmeticException… Read More
The getSourceMethodName() method of java.lang.reflect.LogRecord is used to get the name of the method that allegedly issued the logging request. The source method which is… Read More
The getResourceBundle() method of java.lang.reflect.LogRecord is used to get the localization resource bundle.Resource bundle used to localize the message of this LogRecord. Syntax: public ResourceBundle… Read More
The getInstant() method of java.lang.reflect.LogRecord is used to get this instant that the event occurred this is helpful to record logging events instant. Syntax: public… Read More
The setSourceMethodName() method of java.util.logging.LogRecord is used to set the name of the method that allegedly issued the logging request. The source method name which… Read More
The setThreadID() method of java.util.logging.LogRecord is used to set an identifier for the thread where the message originated. This method is helpful to identify thread… Read More
The setSequenceNumber() method of java.util.logging.LogRecord is used to set the sequence number to LogRecord for logging purpose. Syntax: public void setSequenceNumber(long seq) Parameters: This method… Read More
The setSourceClassName() method of java.util.logging.LogRecord is used to set the name of the class that allegedly issued the logging request. The source class name which… Read More
The setResourceBundleName() method of java.util.logging.LogRecord is used to set the localization resource bundle name. Syntax: public void setResourceBundleName(String name) Parameters: This method accepts the name… Read More
The setResourceBundle() method of java.util.logging.LogRecord is used to set the localization resource bundle.Resource bundle used to localize the message of this LogRecord. Syntax: public void… Read More
The setThrown() method of java.util.logging.LogRecord is used to a throwable associated with the log event.This is used to log Exceptions in the logRecord that can… Read More
The setParameters() method of java.util.logging.LogRecord is used to set the parameters to the log message.These parameters are the parameters to be inserted into the message… Read More
The setMillis() method of java.util.logging.LogRecord is used to set the event time in LogRecord.This event time has unit in MilliSeconds since 1970.Syntax:   public void setMillis(long… Read More
The setLoggerName() method of java.util.logging.LogRecord is used to set the logger name of source.This method returns source logger name if present else returns null. Syntax:… Read More
The setMessage() method of java.util.logging.LogRecord is used to set the “raw” log message, before localization or formatting for this LogRecord object.we can also set null… Read More

Start Your Coding Journey Now!