search

goog.log.LogRecord

Provided By

LogRecord objects are used to pass logging requests between the logging framework and individual log handlers. These objects should not be constructed or reset by application code.

new LogRecord( level, msg, loggerName, time, sequenceNumber )

Parameters
level(goog.log.Level|null)

One of the level identifiers.

msgstring

The string message.

loggerNamestring

The name of the source logger.

timenumber=

Time this log record was created if other than now. If 0, we use #goog.now.

sequenceNumbernumber=

Sequence number of this log record. This should only be passed in when restoring a log record from persistence.

Instance Methods