Fray Engine
Loading...
Searching...
No Matches
engine_log_sink.hpp File Reference
#include <chrono>
#include <condition_variable>
#include <cstdint>
#include <cstdio>
#include <memory>
#include <mutex>
#include <stdexcept>
#include <string>
#include <vector>
#include "log_manager.hpp"
#include "fray_manager.hpp"
#include "ipc_manager.hpp"

Go to the source code of this file.

Classes

class  fray::log::EngineLogSink
 Captures Engine logs before managers exist and forwards them once attached. Construct before startup logging. The attachment must be destroyed before its managers. More...
struct  fray::log::EngineLogSink::Captured
 An owned log line captured before the managers were attached. More...
struct  fray::log::EngineLogSink::State
 Shared callback state, kept alive by in-flight sink snapshots. More...
struct  fray::log::EngineLogSink::ActiveCall
 Releases an in-flight call even if recording throws. More...
struct  fray::log::EngineLogSink::RecursionGuard
 Restores the thread-local recursion guard. More...
class  fray::log::EngineLogSink::Attachment
 Keeps the sink attached to live managers and detaches it on destruction. Declare after the managers so it is destroyed before them. More...

Namespaces

namespace  fray
namespace  fray::log