LogRecord objects are used to pass logging requests between the logging framework and individual log Handlers.
| Instance Method Summary | |
getException() ⇒ ?ObjectGet the exception that is part of the log record. | |
getExceptionText() ⇒ ?stringGet the exception text that is part of the log record. | |
getLevel() ⇒ ?goog.debug.Logger.LevelGet the logging message level, for example Level.SEVERE. | |
getLoggerName() ⇒ stringGet the source Logger's name. | |
getMessage() ⇒ stringGet the "raw" log message, before localization or formatting. | |
getMillis() ⇒ numberGet event time in milliseconds since 1970. | |
getSequenceNumber() ⇒ numberGet the sequence number. Sequence numbers are normally assigned in the LogRecord constructor, which assigns unique sequence numbers to each new LogRecord in increasing order. | |
reset(?goog.debug.Logger.Level level, string msg, string loggerName, number= opt_time, number= opt_sequenceNumber)Sets all fields of the log record. | |
setException(?Object exception)Set the exception that is part of the log record. | |
setExceptionText(string text)Set the exception text that is part of the log record. | |
setLevel(?goog.debug.Logger.Level level)Set the logging message level, for example Level.SEVERE. | |
setLoggerName(string loggerName)Get the source Logger's name. | |
setMessage(string msg)Set the "raw" log message, before localization or formatting. | |
setMillis(number time)Set event time in milliseconds since 1970. | |