Table of Contents

Struct TraceEvent

public struct TraceEvent
Inherited Members

Fields

Arg0

public object Arg0

Field Value

object

Arg1

public object Arg1

Field Value

object

Arg2

public object Arg2

Field Value

object

EditorFrame

public long EditorFrame

Field Value

long

EventId

public long EventId

Field Value

long

EventType

public string EventType

Field Value

string

FilePath

public string FilePath

Field Value

string

FormatEvent

public Func<TraceEvent, string> FormatEvent

Field Value

Func<TraceEvent, string>

Level

public TraceEventLevel Level

Field Value

TraceEventLevel

Line

public int? Line

Field Value

int?

ParentEventId

public long? ParentEventId

Field Value

long?

Timestamp

public long Timestamp

Field Value

long

Properties

CurrentEventId

public long? CurrentEventId { get; }

Property Value

long?

Filename

public string Filename { get; }

Property Value

string

Methods

Scope()

Enters a dynamic AsyncLocal scope in which this event is the parent event. The scope stack will be restored to its original state on Dispose.

public TraceScope Scope()

Returns

TraceScope

Scope(long)

Enters a dynamic AsyncLocal scope in which the specified event ID is the parent event. The scope stack will be restored to its original state on Dispose.

public static TraceScope Scope(long eventId)

Parameters

eventId long

Returns

TraceScope