Global

Location

  • Reference:
    • Go.dll  .NET, .NET Standard 2.0
    • Go.fx  Island
  • Namespace: go.runtime.trace
  • Platforms: .NET, .NET Standard 2.0, Island

Methods


IsEnabled

 

class method IsEnabled: bool

 

static bool IsEnabled()

 

static func IsEnabled() -> bool

 

func IsEnabled() bool

 

Shared Function IsEnabled() As bool

Log

 

class method Log(ctx: Context; category: string; message: string)

 

static void Log(Context ctx, string category, string message)

 

static func Log(_ ctx: Context, _ category: string, _ message: string)

 

func Log(ctx Context, category string, message string)

 

Shared Sub Log(ctx As Context, category As string, message As string)

Parameters:

  • ctx:
  • category:
  • message:

Logf

 

class method Logf(ctx: Context; category: string; format: string; params args: array of Object)

 

static void Logf(Context ctx, string category, string format, params Object[] args)

 

static func Logf(_ ctx: Context, _ category: string, _ format: string, _ args: Object...)

 

func Logf(ctx Context, category string, format string, args []interface{})

 

Shared Sub Logf(ctx As Context, category As string, format As string, ParamArray args As Object())

Parameters:

  • ctx:
  • category:
  • format:
  • args:

NewTask

 

// .NET, .NET Standard 2.0
class method NewTask(pctx: Context; taskType: string): tuple of (ctx: Context, task: Task)
// Island
class method NewTask(pctx: Context; taskType: string): tuple of (ctx: Context, task: Task)

 

// .NET, .NET Standard 2.0
static (Context ctx, Task task) NewTask(Context pctx, string taskType)
// Island
static (Context ctx, Task task) NewTask(Context pctx, string taskType)

 

static func NewTask(_ pctx: Context, _ taskType: string) -> (Context, Task)

 

func NewTask(pctx Context, taskType string) (ctx Context, task Task)

 

Shared Function NewTask(pctx As Context, taskType As string) As Tuple (Of Context, Task)

Parameters:

  • pctx:
  • taskType:

Start

 

class method Start(w: Writer): error

 

static error Start(Writer w)

 

static func Start(_ w: Writer) -> error

 

func Start(w Writer) error

 

Shared Function Start(w As Writer) As error

Parameters:

  • w:

StartRegion

 

// .NET, .NET Standard 2.0
class method StartRegion(ctx: Context; regionType: string): Reference<Region>
// Island
class method StartRegion(ctx: Context; regionType: string): Reference<Region>

 

// .NET, .NET Standard 2.0
static Reference<Region> StartRegion(Context ctx, string regionType)
// Island
static Reference<Region> StartRegion(Context ctx, string regionType)

 

// .NET, .NET Standard 2.0
static func StartRegion(_ ctx: Context, _ regionType: string) -> Reference<Region>
// Island
static func StartRegion(_ ctx: Context, _ regionType: string) -> Reference<Region>

 

// .NET, .NET Standard 2.0
func StartRegion(ctx Context, regionType string) Reference<Region>
// Island
func StartRegion(ctx Context, regionType string) Reference<Region>

 

// .NET, .NET Standard 2.0
Shared Function StartRegion(ctx As Context, regionType As string) As Reference<Region>
// Island
Shared Function StartRegion(ctx As Context, regionType As string) As Reference<Region>

Parameters:

  • ctx:
  • regionType:

Stop

 

class method Stop

 

static void Stop()

 

static func Stop()

 

func Stop()

 

Shared Sub Stop()

WithRegion

 

class method WithRegion(ctx: Context; regionType: string; fn: Action)

 

static void WithRegion(Context ctx, string regionType, Action fn)

 

static func WithRegion(_ ctx: Context, _ regionType: string, _ fn: Action)

 

func WithRegion(ctx Context, regionType string, fn Action)

 

Shared Sub WithRegion(ctx As Context, regionType As string, fn As Action)

Parameters:

  • ctx:
  • regionType:
  • fn: