Table of Contents

Class MetalLoggingOptions

Namespace
DotCompute.Backends.Metal.Telemetry
Assembly
DotCompute.Backends.Metal.dll

Configuration options for Metal production logging

public sealed class MetalLoggingOptions
Inheritance
MetalLoggingOptions
Inherited Members

Properties

BufferFlushInterval

Gets or sets the buffer flush interval

public TimeSpan BufferFlushInterval { get; set; }

Property Value

TimeSpan

EnableBuffering

Gets or sets whether to enable buffering

public bool EnableBuffering { get; set; }

Property Value

bool

EnableCorrelationTracking

Gets or sets whether to enable correlation tracking

public bool EnableCorrelationTracking { get; set; }

Property Value

bool

EnablePerformanceLogging

Gets or sets whether to enable performance logging

public bool EnablePerformanceLogging { get; set; }

Property Value

bool

EnableStackTraceLogging

Gets or sets whether to enable stack trace logging

public bool EnableStackTraceLogging { get; set; }

Property Value

bool

ExternalLogEndpoints

Gets or sets the external log endpoints

public IReadOnlyList<string>? ExternalLogEndpoints { get; set; }

Property Value

IReadOnlyList<string>

MaxBufferSize

Gets or sets the maximum buffer size

public int MaxBufferSize { get; set; }

Property Value

int

SlowOperationThresholdMs

Gets or sets the slow operation threshold in milliseconds

public double SlowOperationThresholdMs { get; set; }

Property Value

double

UseJsonFormat

Gets or sets whether to use JSON format

public bool UseJsonFormat { get; set; }

Property Value

bool