LogIt++
Header-only, macro-first C++ logging library
Loading...
Searching...
No Matches
TaskExecutor.hpp File Reference

Task executor used by asynchronous loggers. More...

#include <functional>
#include <atomic>
#include <thread>
#include <deque>
#include <mutex>
#include <condition_variable>
#include <chrono>
#include "QueuePolicy.hpp"

Go to the source code of this file.

Classes

class  logit::detail::TaskExecutor
 Thread-safe task executor backed by a dedicated worker thread. More...
 

Namespaces

namespace  logit
 The primary namespace for the LogIt++ library.
 
namespace  logit::detail
 

Macros

#define LOGIT_CPP_HEADER_LOGIT_CPP_LOGIT_DETAIL_TASKEXECUTOR_HPP_INCLUDED
 

Detailed Description

Task executor used by asynchronous loggers.

Detailed design notes are available in docs/TaskExecutor.md.

Definition in file TaskExecutor.hpp.

Macro Definition Documentation

◆ LOGIT_CPP_HEADER_LOGIT_CPP_LOGIT_DETAIL_TASKEXECUTOR_HPP_INCLUDED

#define LOGIT_CPP_HEADER_LOGIT_CPP_LOGIT_DETAIL_TASKEXECUTOR_HPP_INCLUDED

Definition at line 3 of file TaskExecutor.hpp.