Corium 1.1.0
High-Performance Zero-Heap C++20 MPSC Application Runtime
Loading...
Searching...
No Matches
LogBackgroundService.hpp File Reference

Asynchronous background worker service for flushing log events to disk. More...

#include <chrono>
#include <stop_token>
#include <thread>
#include <utility>
#include "corium/BackgroundService.hpp"
#include "corium/logging/Logger.hpp"
+ Include dependency graph for LogBackgroundService.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  corium::logging::LogBackgroundService< LogSink, EventVariant, MaxMessageSize >
 Asynchronous background logging service executing on a dedicated C++20 std::jthread. Consumes/flushes log events or periodic status messages asynchronously without blocking the main event loop. More...
 

Namespaces

namespace  corium
 
namespace  corium::logging
 

Detailed Description

Asynchronous background worker service for flushing log events to disk.