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
public sealed class LibraryOptions
Constructors
LibraryOptions()
public LibraryOptions()
Properties
| Member | Description |
|---|---|
| EnableConsoleLogging | Defaults to true. |
| 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. |
| LogSeverity | Minimum 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
| Name | Type | Description |
|---|---|---|
extension | Structure |
Returns: LibraryOptions