LogRecordFlags class

LogRecordFlags represents constants used to interpret the LogRecord.flags field, which is protobuf 'fixed32' type and is to be used as bit-fields. Each non-zero value defined in this enum is a bit-mask. To extract the bit-field, for example, use an expression like:

(logRecord.flags & LOG_RECORD_FLAGS_TRACE_FLAGS_MASK)

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
This enum's name, as specified in the .proto file.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int
This enum's integer value, as specified in the .proto file.
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
Returns this enum's name or the value if names are not represented.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

valueOf(int value) LogRecordFlags?

Constants

LOG_RECORD_FLAGS_DO_NOT_USE → const LogRecordFlags
The zero value for the enum. Should not be used for comparisons. Instead use bitwise "and" with the appropriate mask as shown above.
LOG_RECORD_FLAGS_TRACE_FLAGS_MASK → const LogRecordFlags
Bits 0-7 are used for trace flags.
values → const List<LogRecordFlags>