|
quill
|
This example demonstrates how to change the type of the Single Producer Single Consumer (SPSC) queue used by the frontend. More...


This example demonstrates how to change the type of the Single Producer Single Consumer (SPSC) queue used by the frontend.
This example demonstrates defining and utilizing custom FrontendOptions.
By default, the library uses an UnboundedBlocking queue, which starts small with initial_queue_capacity and grows as needed.
This example switches to a bounded dropping queue so the frontend never blocks and excess log messages are dropped once the queue is full. Create custom frontend options.
It's useful when you need to modify the queue type or capacity. FrontendOptions are compile-time options and must be passed as a template argument.
1.8.13