Namespace: webdriver.loggingView Sourceclass LogRecordLogRecord objects are used to pass logging requests between the logging framework and individual log Handlers. new LogRecord(level, msg, loggerName, opt_time, opt_sequenceNumber)Parameterslevelwebdriver.logging.LevelOne of the level identifiers. msgstringThe string message. loggerNamestringThe name of the source logger. opt_timenumber=Time this log record was created if other than now. If 0, we use #goog.now. opt_sequenceNumbernumber=Sequence number of this log record. This should only be passed in when restoring a log record from persistence. Instance MethodsgetException()code »Get the exception that is part of the log record. ReturnsObjectthe exception. getLevel()code »Get the logging message level, for example Level.SEVERE. Returnswebdriver.logging.Levelthe logging message level. getLoggerName()code »Get the source Logger's name. Returnsstringsource logger name (may be null). getMessage()code »Get the "raw" log message, before localization or formatting. Returnsstringthe raw message string. getMillis()code »Get event time in milliseconds since 1970. Returnsnumberevent time in millis since 1970. getSequenceNumber()code »Get the sequence number. Sequence numbers are normally assigned in the LogRecord constructor, which assigns unique sequence numbers to each new LogRecord in increasing order. Returnsnumberthe sequence number. reset(level, msg, loggerName, opt_time, opt_sequenceNumber)code »Sets all fields of the log record. Parameterslevelwebdriver.logging.LevelOne of the level identifiers. msgstringThe string message. loggerNamestringThe name of the source logger. opt_timenumber=Time this log record was created if other than now. If 0, we use #goog.now. opt_sequenceNumbernumber=Sequence number of this log record. This should only be passed in when restoring a log record from persistence. setException(exception)code »Set the exception that is part of the log record. ParametersexceptionObjectthe exception. setLevel(level)code »Set the logging message level, for example Level.SEVERE. Parameterslevelwebdriver.logging.Levelthe logging message level. setLoggerName(loggerName)code »Get the source Logger's name. ParametersloggerNamestringsource logger name (may be null). setMessage(msg)code »Set the "raw" log message, before localization or formatting. Parametersmsgstringthe raw message string. setMillis(time)code »Set event time in milliseconds since 1970. Parameterstimenumberevent time in millis since 1970. Compiler ConstantsLogRecord.ENABLE_SEQUENCE_NUMBERSbooleanWhether to enable log sequence numbers.