tec::ConsoleSink

#include <console.hpp>

Inherits from spdlog::sinks::sink

Public Functions

Name
ConsoleSink(Console & c)
void log(const spdlog::details::log_msg & msg) override
void flush() override
void set_pattern(const std::string & pattern)
void set_formatter(std::unique_ptr< spdlog::formatter > sink_formatter)

Public Functions Documentation

function ConsoleSink

inline ConsoleSink(
    Console & c
)

function log

void log(
    const spdlog::details::log_msg & msg
) override

function flush

inline void flush() override

function set_pattern

inline void set_pattern(
    const std::string & pattern
)

function set_formatter

inline void set_formatter(
    std::unique_ptr< spdlog::formatter > sink_formatter
)

Updated on 2022-07-24 at 19:27:35 +0000