Skip to main content
Version: 0.9.0

LibraryOptions class

Arguments of Library.Init, which must run once per process before any other call. The defaults match qar_library_init_default().

Namespace: Quaternar.Qaros · Assembly: Quaternar.Qaros.dll · Source: QarTypes.cs

public sealed class LibraryOptions

Constructors​

LibraryOptions()​

public LibraryOptions()

Properties​

MemberDescription
EnableConsoleLoggingDefaults to true.
LogFolderPathFolder for qar_streaming.log; null (the default) writes no log file. The file starts empty on each init and rolls over once it is a day old or 256 MiB; the oldest rolled files are deleted so the log takes at most 3 GiB.
LogSeverityMinimum severity logged. Defaults to LogSeverity.Info.

EnableConsoleLogging​

Defaults to true.

public bool EnableConsoleLogging { get; set; }

Value: bool

LogFolderPath​

Folder for qar_streaming.log; null (the default) writes no log file. The file starts empty on each init and rolls over once it is a day old or 256 MiB; the oldest rolled files are deleted so the log takes at most 3 GiB.

public string? LogFolderPath { get; set; }

Value: string

LogSeverity​

Minimum severity logged. Defaults to LogSeverity.Info.

public LogSeverity LogSeverity { get; set; }

Value: LogSeverity

Methods​

WithExtension​

public LibraryOptions WithExtension(Structure extension)

Parameters

NameTypeDescription
extensionStructure

Returns: LibraryOptions