Object
goog.debug.LogRecord
|
level
:
One of the level identifiers.
|
|
msg
:
The string message.
|
|
loggerName
:
The name of the source logger.
|
|
opt_time
:
Time this log record was created if other than now. If 0, we use #goog.now.
|
|
opt_sequenceNumber
:
Sequence number of this log record. This should only be passed in when restoring a log record from persistence.
|
|
Get the exception that is part of the log record.
Returns:
the exception.
|
code » | ||
|
Get the exception text that is part of the log record.
Returns:
Exception text.
|
code » | ||
|
Get the logging message level, for example Level.SEVERE.
Returns:
the logging message level.
|
code » | ||
|
Get the source Logger's name.
Returns:
source logger name (may be null).
|
code » | ||
|
Get the "raw" log message, before localization or formatting.
Returns:
the raw message string.
|
code » | ||
|
Get event time in milliseconds since 1970.
Returns:
event time in millis since 1970.
|
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.
Returns:
the sequence number.
|
code » | ||
setException(exception)
Set the exception that is part of the log record.
Arguments:
|
code » | ||
setExceptionText(text)
Set the exception text that is part of the log record.
Arguments:
|
code » | ||
setLevel(level)
Set the logging message level, for example Level.SEVERE.
Arguments:
|
code » | ||
setLoggerName(loggerName)
Get the source Logger's name.
Arguments:
|
code » | ||
setMessage(msg)
Set the "raw" log message, before localization or formatting.
Arguments:
|
code » | ||
setMillis(time)
Set event time in milliseconds since 1970.
Arguments:
|
code » |