Share via


LogRecord.SequenceNumber Property

Definition

Get the sequence number. -or- Set the sequence number.

public virtual long SequenceNumber { [Android.Runtime.Register("getSequenceNumber", "()J", "GetGetSequenceNumberHandler")] get; [Android.Runtime.Register("setSequenceNumber", "(J)V", "GetSetSequenceNumber_JHandler")] set; }
[<get: Android.Runtime.Register("getSequenceNumber", "()J", "GetGetSequenceNumberHandler")>]
[<set: Android.Runtime.Register("setSequenceNumber", "(J)V", "GetSetSequenceNumber_JHandler")>]
member this.SequenceNumber : int64 with get, set

Property Value

the sequence number

Attributes

Remarks

Property getter documentation:

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.

Java documentation for java.util.logging.LogRecord.getSequenceNumber().

Property setter documentation:

Set the sequence number.

Sequence numbers are normally assigned in the LogRecord constructor, so it should not normally be necessary to use this method.

Java documentation for java.util.logging.LogRecord.setSequenceNumber(long).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to