QarLibraryInit Struct
Library initialization parameters. More...
Declaration
Included Headers
Public Member Attributes Index
| bool | enable_console_logging |
| QarStructureHeader | header |
| const char * | log_folder_path |
| QarLogSeverity | log_severity |
Description
Library initialization parameters.
Besides the console and the log file below, the library sends its log records (Info and above) to the session, so a Visualizer's Logs panel, or anything else that asks a peer for its logs, receives them. Nothing here switches that on or off: it holds with the console and the file both off. Records go out only while someone listens, over reliable messaging at background priority. A safety cap of 500 records per second (bursts of 1000) stops a runaway app; a record over it is dropped and shows at the receiver as a gap in the sequence. Setting the environment variable QAR_NETWORK_LOGS to 0 (also off, false, no) before qar_library_init() keeps the records off the network.
Definition at line 1677 of file qar_streaming.h.
Public Member Attributes
enable_console_logging
|
Definition at line 1680 of file qar_streaming.h.
header
|
Definition at line 1679 of file qar_streaming.h.
log_folder_path
|
Folder for qar_streaming.log, or NULL for no log file. The file starts empty on each init and rolls over once it is a day old or 256 MiB, to qar_streaming.<UTC time>.log; the oldest of those are deleted so the log takes at most 3 GiB. UTF-8, like every path in this API (see Text encoding).
Definition at line 1686 of file qar_streaming.h.
log_severity
|
Definition at line 1687 of file qar_streaming.h.
The documentation for this struct was generated from the following file:
Generated via doxygen2docusaurus 2.2.1 by Doxygen 1.9.8.