Class BufferSink

Inheritance Relationships

Base Type

Class Documentation

class BufferSink : public Utilities::LogSink

Public Functions

inline BufferSink(const LogLevel minLevel)
inline virtual void write(const Utilities::LogLevel level, const std::string &str)
inline std::vector<std::pair<Utilities::LogLevel, std::string>> &getBuffer()
inline void clearBuffer()

Protected Attributes

std::vector<std::pair<Utilities::LogLevel, std::string>> m_buffer