#include <async_log_helper.h>
|  | 
| static void | sleep_or_yield (const spdlog::log_clock::time_point &now, const log_clock::time_point &last_op_time) | 
|  | 
Definition at line 36 of file async_log_helper.h.
 
◆ clock
◆ item_type
◆ q_type
◆ async_msg_type
◆ async_log_helper()
  
  | 
        
          | spdlog::details::async_log_helper::async_log_helper | ( | formatter_ptr | formatter, |  
          |  |  | const std::vector< sink_ptr > & | sinks, |  
          |  |  | size_t | queue_size, |  
          |  |  | const log_err_handler | err_handler, |  
          |  |  | const async_overflow_policy | overflow_policy = async_overflow_policy::block_retry, |  
          |  |  | const std::function< void()> & | worker_warmup_cb = nullptr, |  
          |  |  | const std::chrono::milliseconds & | flush_interval_ms = std::chrono::milliseconds::zero(), |  
          |  |  | const std::function< void()> & | worker_teardown_cb = nullptr ) |  | inline | 
 
 
◆ ~async_log_helper()
  
  | 
        
          | spdlog::details::async_log_helper::~async_log_helper | ( |  | ) |  |  | inline | 
 
 
◆ flush()
  
  | 
        
          | void spdlog::details::async_log_helper::flush | ( | bool | wait_for_q | ) |  |  | inline | 
 
 
◆ handle_flush_interval()
  
  | 
        
          | void spdlog::details::async_log_helper::handle_flush_interval | ( | log_clock::time_point & | now, |  
          |  |  | log_clock::time_point & | last_flush ) |  | inlineprivate | 
 
 
◆ log()
◆ process_next_msg()
  
  | 
        
          | bool spdlog::details::async_log_helper::process_next_msg | ( | log_clock::time_point & | last_pop, |  
          |  |  | log_clock::time_point & | last_flush ) |  | inlineprivate | 
 
 
◆ push_msg()
  
  | 
        
          | void spdlog::details::async_log_helper::push_msg | ( | async_msg && | new_msg | ) |  |  | inlineprivate | 
 
 
◆ set_error_handler()
◆ set_formatter()
  
  | 
        
          | void spdlog::details::async_log_helper::set_formatter | ( | formatter_ptr | msg_formatter | ) |  |  | inline | 
 
 
◆ sleep_or_yield()
  
  | 
        
          | void spdlog::details::async_log_helper::sleep_or_yield | ( | const spdlog::log_clock::time_point & | now, |  
          |  |  | const log_clock::time_point & | last_op_time ) |  | inlinestaticprivate | 
 
 
◆ wait_empty_q()
  
  | 
        
          | void spdlog::details::async_log_helper::wait_empty_q | ( |  | ) |  |  | inlineprivate | 
 
 
◆ worker_loop()
  
  | 
        
          | void spdlog::details::async_log_helper::worker_loop | ( |  | ) |  |  | inlineprivate | 
 
 
◆ _err_handler
◆ _flush_interval_ms
  
  | 
        
          | const std::chrono::milliseconds spdlog::details::async_log_helper::_flush_interval_ms |  | private | 
 
 
◆ _flush_requested
  
  | 
        
          | bool spdlog::details::async_log_helper::_flush_requested |  | private | 
 
 
◆ _formatter
◆ _overflow_policy
◆ _q
  
  | 
        
          | q_type spdlog::details::async_log_helper::_q |  | private | 
 
 
◆ _sinks
  
  | 
        
          | std::vector<std::shared_ptr<sinks::sink> > spdlog::details::async_log_helper::_sinks |  | private | 
 
 
◆ _terminate_requested
  
  | 
        
          | bool spdlog::details::async_log_helper::_terminate_requested |  | private | 
 
 
◆ _worker_teardown_cb
  
  | 
        
          | const std::function<void()> spdlog::details::async_log_helper::_worker_teardown_cb |  | private | 
 
 
◆ _worker_thread
  
  | 
        
          | std::thread spdlog::details::async_log_helper::_worker_thread |  | private | 
 
 
◆ _worker_warmup_cb
  
  | 
        
          | const std::function<void()> spdlog::details::async_log_helper::_worker_warmup_cb |  | private | 
 
 
The documentation for this class was generated from the following file:
- C:/Users/lachl/Downloads/ArkServerAPI_NEW/ASE/AseApi-main/version/Core/Public/Logger/spdlog/details/async_log_helper.h