Flow 1.0.0
Flow project: Full implementation reference.
Classes | Namespaces
async_file_logger.hpp File Reference
#include "flow/log/log.hpp"
#include "flow/log/detail/log_fwd.hpp"
#include "flow/async/single_thread_task_loop.hpp"
#include "flow/util/util_fwd.hpp"
#include <boost/asio.hpp>
#include <boost/move/unique_ptr.hpp>
#include <atomic>

Go to the source code of this file.

Classes

class  flow::log::Async_file_logger
 An implementation of Logger that logs messages to a given file-system path but never blocks any logging thread for file I/O; suitable for heavy-duty file logging. More...
 
struct  flow::log::Async_file_logger::Throttling_cfg
 Controls behavior of the throttling algorithm as described in Async_file_logger doc header Throttling section. More...
 
struct  flow::log::Async_file_logger::Log_request
 In addition to the task object (function) itself, these are the data placed onto the queue of m_async_worker tasks for a particular do_log() call, to be used by that task and then freed immediately upon logging of the message to file. More...
 

Namespaces

namespace  flow
 Catch-all namespace for the Flow project: A collection of various production-quality modules written in modern C++17, originally by ygoldfel.
 
namespace  flow::log
 Flow module providing logging functionality.