OpenTelemetry.SelfDiagnostics.SelfDiagnosticsOptions
Options for configuring SDK self-diagnostics logging.
namespace OpenTelemetry.SelfDiagnostics
{
public sealed class SelfDiagnosticsOptions
{
public LogLevel MinimumLevel { get; set; }
public string LogDirectory { get; set; }
public int FileSizeLimitKilobytes { get; set; }
public int MaxRetainedFiles { get; set; }
public bool LogToStdout { get; set; }
public bool LogToStderr { get; set; }
public EnvironmentVariableLogMode EnvironmentVariables { get; set; }
public SelfDiagnosticsOptions();
public static string GetDefaultLogDirectory();
}
}