Table of Contents

Class LogForwardingOptions

Namespace
Temporalio.Runtime
Assembly
Temporalio.dll

Log forwarding options to send Core logs to a logger.

public class LogForwardingOptions : ICloneable
Inheritance
LogForwardingOptions
Implements
Inherited Members

Constructors

LogForwardingOptions()

Initializes a new instance of the LogForwardingOptions class.

public LogForwardingOptions()

LogForwardingOptions(ILogger)

Initializes a new instance of the LogForwardingOptions class.

public LogForwardingOptions(ILogger logger)

Parameters

logger ILogger

Logger to send to.

Properties

IncludeFields

Gets or sets a value indicating whether additional fields are parsed and appended to the log message. Default is true.

public bool IncludeFields { get; set; }

Property Value

bool

Logger

Gets or sets the logger that logs will be forwarded to. This is required.

public ILogger? Logger { get; set; }

Property Value

ILogger

Methods

Clone()

Create a shallow copy of these options.

public virtual object Clone()

Returns

object

A shallow copy of these options and any transitive options fields.