Google is committed to advancing racial equity for Black communities. See how.

LogRecord class

A log entry representation used to propagate information from Logger to individual handlers.

Constructors

LogRecord (Level level, String message, String loggerName, [Object error, StackTrace stackTrace, Zone zone, Object object])

Properties

errorObject

Associated error (if any) when recording errors messages.
final

hashCodeint

The hash code for this object. ...
read-only, inherited

levelLevel

final

loggerNameString

Logger where this record is stored.
final

messageString

final

objectObject

Non-string message passed to Logger.
final

runtimeTypeType

A representation of the runtime type of the object.
read-only, inherited

sequenceNumberint

Unique sequence number greater than all log records created before it.
final

stackTraceStackTrace

Associated stackTrace (if any) when recording errors messages.
final

timeDateTime

Time when this record was created.
final

zoneZone

Zone of the calling code which resulted in this LogRecord.
final

Methods

noSuchMethod(Invocation invocation) dynamic

Invoked when a non-existent method or property is accessed. ...
inherited

toString() String

Returns a string representation of this object.
override

Operators

operator ==(Object other) bool

The equality operator. ...
inherited